This installment of the AWS CDK Typescript code for setting up an environment for studying Kubernetes Fundamentals (course LFS258 from the Linux/Cloud Native Foundation) shows how to easily add three extra EC2 instances for playing with higher availability options for your learning Kubenetes cluster.
I used extra1
for the HA Proxy then extra2
and extra3
to join Control Plane Nodes with the cluster. You can, of course, play with these extra instances as you will:
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
cp Ready control-plane 21d v1.31.1
extra2 Ready control-plane 4d20h v1.30.9
extra3 Ready control-plane 4d20h v1.30.9
k8swk1 Ready control-plane 21d v1.31.1
Top comments (0)