Chapter 88: Amazon EKS for DevOps
88.7 Add-ons — CoreDNS, kube-proxy, VPC CNI, EBS CSI
Story. A PhonePe-style wallet team upgraded Kubernetes but left the VPC CNI add-on two minor versions behind. DNS looked fine; new pods on larger instance types failed IP assignment. After they moved critical add-ons to EKS managed add-ons and tracked versions in the same change ticket as the cluster upgrade, the surprise stopped. Add-ons are part of the cluster, not optional decorations.
Why
A cluster without healthy DNS, proxy or CNI cannot run real apps. Managing add-on versions with the cluster avoids silent skew.
What
- CoreDNS — Cluster DNS for Service names.
- kube-proxy — Helps implement Kubernetes Service networking on nodes.
- vpc-cni — Amazon VPC CNI add-on.
- aws-ebs-csi-driver — Lets you mount EBS volumes as PersistentVolumes.
- EKS add-ons API — Install and upgrade selected add-ons as managed components.
How
- List installed add-ons and compare versions to the cluster version compatibility notes from AWS.
- Upgrade add-ons as part of the same change window as the control plane when required.
- Give the EBS CSI its own IRSA role for
ec2volume calls. - Watch
kube-systempods after every upgrade.
Example 1: List add-ons
aws eks list-addons --cluster-name shop-lab --region ap-south-1
Output
{
"addons": [
"vpc-cni",
"coredns",
"kube-proxy",
"aws-ebs-csi-driver"
]
}
What it shows: Four common managed add-ons are present. Your list may differ.
Example 2: Describe one add-on
aws eks describe-addon --cluster-name shop-lab --addon-name vpc-cni --region ap-south-1 --query 'addon.{status:status,version:addonVersion}' --output table
Output
--------------------------------
| DescribeAddon |
+----------+-------------------+
| status | ACTIVE |
| version | v1.18.x-eksbuild |
+----------+-------------------+
What it shows: VPC CNI is ACTIVE on a specific add-on build. Match builds to AWS compatibility guidance for your cluster version.
Ravindra Bagale's Tip
Put add-on upgrades on the same checklist as the control-plane upgrade. Skew is a common outage cause.
Add-on upgrades control-plane upgrade च्या checklist वर ठेवा. Version skew = outage.
Add-on upgrades को control-plane upgrade की checklist पर रखें. Version skew = outage.
Quick quiz
Q1. Name two default networking-related add-ons.
vpc-cni and kube-proxy (CoreDNS is DNS).
Q2. What is the EBS CSI for?
Provisioning and mounting EBS-backed PersistentVolumes.
Q3. Why manage add-ons with the cluster version?
Compatibility — old CNI or DNS with a new control plane causes subtle failures.
Did you understand? Let us try it once more.