Skip to content

Question About Kubernetes Version Upgrade in Apache CloudStack #10635

Answered by Pearl1594
marcoodamo asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Kubernetes upgrade just upgrades the k8s version. Just to give a high level overview of the steps:

  1. First attaches the K8s ISO of the version of k8s that you want to upgrade to, to the respective nodes - control and worker node(s)
  2. Drains each of the node - starting with the control node
  3. Deploys the cloudstack-kubernetes-provider
  4. Then runs the upgrade-kubernetes.sh script, which:
    a. mounts the attached iso on the the respective node
    b. imports the images (docker) required for the new k8s version
    c. runs the kubeadm upgrade command based on the node type
    d. copies the latest binaries - kubectl, kubelet from the ISO and restarts the services
    e. On the control node, applies the latest net…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by weizhouapache
Comment options

You must be logged in to vote
1 reply
@weizhouapache
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants