DEV Community

Cover image for AWS CDK Typescript: Adding Extra Nodes to Study Kubernetes Availability
Matthew Evan Eichler
Matthew Evan Eichler

Posted on

AWS CDK Typescript: Adding Extra Nodes to Study Kubernetes Availability

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
Enter fullscreen mode Exit fullscreen mode

Pull Request #4

Top comments (0)

Postgres on Neon - Get the Free Plan

No credit card required. The database you love, on a serverless platform designed to help you build faster.

Get Postgres on Neon