Question: Write automation script for this without adding cluster and worker nodes and in budget friendly manner 1 . List the worker nodes in your cluster

Write automation script for this without adding cluster and worker nodes and in budget friendly manner
1. List the worker nodes in your cluster and note the ID and Primary IP of the
worker node that you want to update.
cloud ks worker ls --cluster
2. Replace the worker node to update either the patch version or the
major.minor version that matches the master version.
To update the worker node to the latest patch version at the same
major.minor version, such as from 1.23.8_1530 to 1.23.9_1533, don't include
the --update option.
cloud ks worker replace --cluster --worker
Note: While updating first node, all pods will be migrated automatically to
other nodes.
The workers will be updated one by one, with some time in-between
to allow workloads to migrate between nodes.
3. Repeat these steps for each worker node that you must update.
Replace the worker node to update either the patch version or the
major.minor version that matches the master version.
To update the worker node to the latest patch version at the same
major.minor version, such as from 1.23.8_1530 to 1.23.9_1533, don't include
the --update option.
cloud ks worker replace --cluster --worker

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!