Sequential Breakdown and Verification of the Update Process
Understand the sequential breakdown of the cluster update process and verify the update to the cluster.
We'll cover the following
Sequential breakdown of the update process
Let’s understand what happens when we execute the kops update
command.
-
kOps retrieves the desired state from the S3 bucket.
-
kOps sends requests to AWS API to change the values of the workers ASG.
-
AWS modifies the values of the workers ASG by increasing them by 1.
-
ASG created a new EC2 instance to comply with the new sizing.
-
Protokube installs Kubelet and Docker and creates the manifest file with the list of Pods.
-
Kubelet reads the manifest file and runs the container that forms the
kube-proxy
Pod (the only Pod on the worker nodes). -
Kubelet sends a request to the
kube-apiserver
(through thedns-controller
) to register the new node and join it to the cluster. The information about the new node is stored inetcd
.
This process is almost identical to the one used to create the nodes of the cluster.
Get hands-on with 1200+ tech skills courses.