Ravindra BagaleCourses & study guides मराठी

Chapter 88: Amazon EKS for DevOps

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.

Managed add-ons ship CoreDNS, kube-proxy, VPC CNI and often EBS CSI. Upgrade them with the cluster plan.
Managed add-ons ship CoreDNS, kube-proxy, VPC CNI and often EBS CSI. Upgrade them with the cluster plan.

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

  1. List installed add-ons and compare versions to the cluster version compatibility notes from AWS.
  2. Upgrade add-ons as part of the same change window as the control plane when required.
  3. Give the EBS CSI its own IRSA role for ec2 volume calls.
  4. Watch kube-system pods 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.

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.