Planning and managing your cloud ecosystem and environments is essential for lowering manufacturing downtime and sustaining a functioning workload. Within the “Managing your cloud ecosystems” weblog sequence, we cowl totally different methods for guaranteeing that your setup features easily with minimal downtime.
To start out issues off, the primary matter on this weblog sequence is guaranteeing workload continuity throughout employee node upgrades.
What are employee node upgrades?
Employee node upgrades apply necessary safety updates and patches and must be accomplished frequently. For extra data on varieties of employee node upgrades, see Updating VPC employee nodes and Updating Basic employee nodes within the IBM Cloud Kubernetes Service documentation.
Throughout an improve, a few of your employee nodes could turn into unavailable. It’s necessary to verify your cluster has sufficient capability to proceed operating your workload all through the improve course of. Constructing a pipeline to replace your employee nodes with out inflicting software downtime will help you simply apply employee node upgrades frequently.
For traditional employee nodes
Create a Kubernetes configmap that defines the utmost variety of employee nodes that may be unavailable at a time, together with throughout an improve. The utmost worth is specified as a proportion. You can even use labels to use totally different guidelines to totally different employee nodes. For full directions, see Updating Basic employee nodes within the CLI with a configmap within the Kubernetes service documentation. In case you select to not create a configmap, the default most quantity of employee nodes that turn into unavailable is 20%.
In case you want your complete variety of employee nodes to stay up and operating, use the ibmcloud ks worker-pool resize
command to quickly add further employee nodes to your cluster throughout the improve course of. When the improve is full, use the identical command to take away the extra employee nodes and return your employee pool to its earlier measurement.
For VPC employee nodes
VPC employee nodes are changed by eradicating the previous employee node and provisioning a brand new employee node that runs on the new model. You may improve a number of employee nodes on the similar time, however in case you improve a number of without delay, they turn into unavailable on the similar time. To be sure to have sufficient capability to run your workload through the improve, you may plan to both resize your employee swimming pools to quickly add further employee nodes (much like the method described for traditional employee nodes) or plan to improve your employee nodes one after the other.
Wrap up
Whether or not you select to implement a configmap, resize your employee pool or improve elements one-by-one, making a workload continuity plan earlier than you improve your employee nodes may also help you create a extra streamlined, environment friendly setup with restricted downtime.
Now that you’ve got a plan to stop disruptions throughout employee node upgrades, maintain an eye fixed out for the subsequent weblog in our sequence, which can focus on how, when and why to implement main, minor or patch upgrades to your clusters and employee nodes.
Study extra about IBM Cloud Kubernetes Service clusters