Scale Master Nodes in AWS Clusters
Problem
How to scale/replace master nodes in a Multi-Master AWS PMK cluster due to one of the following reasons: maintenance, OS crash, or hardware failure or AMI update?
Environment
Platform9 Managed Kubernetes - All Versions
AWS Clusters
Procedure
Ensure the etcd quorum of the cluster by checking the etcd cluster's health:
Currently, Platform9 UI does not support scaling up/down the master nodes for an AWS cluster. But this can be achieved using Qbert APIs.
To get X-Auth-Token use the following steps.
Once the node is detached from the cluster, delete the same master node from the AWS EC2 console so that AWS auto-scales a new node and attaches it to the cluster.
The progress can be seen by clicking on Infrastructure --> Clusters --> Node Health --> Select the newly added node --> Click on "View All Steps".
The final step is to verify the status of nodes using the command
kubectl get nodes -w
