How to upgrade EKS cluster using Terraform

Current node status of cluster
Deployed Nginx and Redis workload using helm chart
Change cluster version from 1.20 -> 1.21
Current status of EKS cluster in EKS dashboard
Worker node did not upgrade as a part of cluster upgrade
check kubeproxy version for particular kubernetes version
Changing the image version in daemonsets
Applying the change will replace existing kubeproxy daemonsets
New worker group for migrating existing workload
Node status after adding new worker node with v1.21.2 version
Initiate migrating workload from existing node to new node. The targeted node is unscheduable now
Evicting workload from legacy node
all pods now running on other nodes then our targeted one
Now terminate the old worker group by setting desire size to zero
there is no Worker group 2 is available now

My background is in software engineering, with specialization in practicing DevOps culture.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The definitive CIO Guide to app modernization

Debugging in Cypress

CAS Parser 🗄️ — Convert Mutual Fund CAS to CSV, Excel

ENVELOP receives grant support from Harmony

Why Do You Need a Mobile Application for Your Business?

Instead of WTF is this? — try How interesting!

Qubes “OS” — not for the common folk, part 1 — it won’t install!

Setting up EC2 environment in AWS using Terraform

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
muntashir islam

muntashir islam

My background is in software engineering, with specialization in practicing DevOps culture.

More from Medium

Store a sensitive kubeconfig with Kubernetes and clouds providers

ArgoCD Notifications to Microsoft Teams

Deploy Ansible AWX into a k3s single node cluster

Intelligently adapt Kubernetes clusters to use spot nodes