acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

Kubernetes upgrade operation enhancements

Open amanohar opened this issue 9 years ago • 1 comments

Is this a request for help?: No


Is this an ISSUE or FEATURE REQUEST? (choose one): FEATURE REQUEST

Pending enhancements to Kubernetes upgrade feature:

  1. *Idempotency: Upgrade operation will find the missing nodes based on model state and create upgraded nodes. However, user needs to delete any orphaned OS disks before the is operation run again. Enhance the operation to find orphaned disks and delete them.
  2. Drain and cordon agent nodes before deleting them
  3. etcd improvements: - https://github.com/Azure/acs-engine/issues/472 - https://github.com/Azure/acs-engine/issues/676
  4. Create one extra node in each pool before attempting to upgrade that pool to maintain HA
  5. After upgrade validation and health check
  6. Rollback & downgrade in case of upgrade failure
  7. Upgrade etcd2 to etcd3
  8. Generalize upgrade operations to support upgrade to other versions (currently only v1.5.3 -> v1.6.2 upgrade is supported).

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes

First round of implementation to enable Kubernetes cluster upgrade has been merged behind an experimental feature flag. It enables the following scenarios:

  1. Multi master upgrade
  2. Multi agent upgrade
  3. Multi agent pool (Linux & Windows pools) upgrade
  4. Upgrade operation on a cluster is idempotent (with one pending fix, see below*):
  5. Upgrade operation will only upgrade nodes in the resource group that belong this cluster
  6. Etcd was moved to a separate data disk
  7. Enabled ACS Engine (including API model) to create K8s clusters of different versions (1.5.3, 1.5.7, 1.6.0. 1.6.2)

amanohar avatar Jun 13 '17 01:06 amanohar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution. Note that acs-engine is deprecated--see https://github.com/Azure/aks-engine instead.

stale[bot] avatar Mar 09 '19 19:03 stale[bot]