Day-1 Kubernetes feels like progress: the cluster is up, the first services deploy, and the demo works. Day 2 is where clusters age. Versions fall behind, node images drift, certificates approach expiry, add-ons stop matching the control plane, and a temporary privileged pod quietly becomes permanent. This guide covers the operational work that keeps an Amazon EKS cluster healthy after go-live, with the commands and manifests we use.
Why day-2 problems are predictable
Most production incidents on mature clusters are not exotic. They come from a short list of things that were never given an owner:
- Upgrades postponed until the cluster is several versions behind and every jump feels risky.
- Node rotation that evicts all replicas of a service at once because no PodDisruptionBudget exists.
- Pods without resource requests, so one noisy workload starves its neighbours.
- Backups that exist but have never been restored.
- Policy drift: exceptions granted during an incident that are never removed.
- Alerting on CPU instead of user-facing symptoms, so real problems are noticed by customers first.
Upgrades: one minor version at a time
EKS control planes upgrade one minor version per step, and every Kubernetes version has a fixed support window. Each version gets roughly 14 months of standard support followed by an extended support period billed at a higher hourly rate, after which AWS upgrades the cluster automatically. Treat upgrades as routine product work on a calendar, not as an emergency project.
Step 1: pre-flight checks
EKS upgrade insights flag deprecated API usage and known compatibility issues for the next version. Pair them with a scanner that checks your manifests and Helm releases for removed APIs before anything changes.
# EKS upgrade insights for the cluster
aws eks list-insights --cluster-name prod-eks \
--filter 'categories=UPGRADE_READINESS'
# Find deprecated or removed APIs in live Helm releases
pluto detect-helm -o wide --target-versions k8s=v1.NEXT
# Check which add-on versions support the target Kubernetes version
aws eks describe-addon-versions --addon-name vpc-cni \
--kubernetes-version 1.NEXT \
--query 'addons[].addonVersions[].addonVersion'Step 2: upgrade the control plane through Terraform
Change the version in code, review the plan, and apply. Upgrading through the console works too, but it leaves your Terraform out of sync and the next apply may try to fight it.
# One minor version per change, rehearsed in staging first
kubernetes_version = "1.NEXT"Steps 3 and 4: add-ons, then nodes
After the control plane, update the EKS add-ons—VPC CNI, CoreDNS, kube-proxy, the EBS CSI driver, and the Pod Identity agent—to versions compatible with the new release, then any Helm-managed tooling such as the load balancer controller. Finally, roll the nodes. Managed node groups perform a rolling update; Karpenter detects drift between running nodes and the desired AMI and replaces them gradually, respecting disruption budgets.
aws eks update-nodegroup-version \
--cluster-name prod-eks \
--nodegroup-name system
# Watch nodes drain and rejoin
kubectl get nodes -L node.kubernetes.io/instance-type,karpenter.sh/nodepool -wProtect availability during node rotation
Upgrades, Karpenter consolidation, Spot interruptions, and node expiry all evict pods. PodDisruptionBudgets tell Kubernetes how many replicas must stay running, and topology spread constraints keep replicas in different zones so a single zone failure never takes a service down.
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: orders-api
namespace: orders
spec:
minAvailable: 2
selector:
matchLabels:
app: orders-api
---
# In the Deployment's pod template
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: orders-api
terminationGracePeriodSeconds: 45Be careful with PDBs on single-replica deployments: minAvailable: 1 on one replica blocks node drains forever and will stall upgrades. Either run at least two replicas or accept brief unavailability for that service.
How does your cloud measure up?
Score your setup across foundation, delivery, reliability, security, and cost in 3 minutes—instant results, no email needed.
Capacity and cost with Karpenter disruption budgets
Consolidation saves money by packing pods onto fewer nodes, but uncontrolled consolidation during business hours causes needless churn. Disruption budgets limit how many nodes Karpenter may replace at once and can pause voluntary disruption during peak windows.
spec:
disruption:
consolidationPolicy: WhenEmptyOrUnderutilized
consolidateAfter: 10m
budgets:
- nodes: "10%" # at most 10% of nodes at a time
- nodes: "0" # no voluntary disruption during peak hours
schedule: "0 9 * * mon-fri"
duration: 10hBackups and disaster recovery
GitOps repositories cover most Kubernetes objects, but persistent volumes, secrets created at runtime, and cluster-scoped resources still need backups. Velero backs up Kubernetes resources to S3 and snapshots EBS volumes. The part teams skip is the restore test—schedule it.
# Daily backup at 02:00, kept for 30 days
velero schedule create daily \
--schedule="0 2 * * *" \
--ttl 720h0m0s \
--include-namespaces orders,payments
# Quarterly drill: restore into a scratch namespace and verify
velero restore create orders-drill \
--from-schedule daily \
--namespace-mappings orders:orders-restore-testCertificates, secrets, and other things that expire
- TLS certificates: let cert-manager or ACM renew automatically, and alert on certificates within 21 days of expiry anyway.
- Secrets: store them in AWS Secrets Manager and sync with the External Secrets Operator, with rotation enabled for databases.
- Node AMIs: Karpenter expireAfter and regular managed node group updates ensure patched images actually reach running nodes.
- IAM: review Pod Identity roles quarterly and remove permissions that CloudTrail shows are never used.
- Access: review access entries when people change teams or leave.
Observability signals that predict trouble
- Pods stuck in Pending for more than a few minutes—capacity, quota, or scheduling constraints.
- Node NotReady and DiskPressure or MemoryPressure conditions.
- CoreDNS error and latency rates, a frequent hidden cause of application timeouts.
- API server request latency and throttling (HTTP 429) from controllers.
- VPC CNI IP address exhaustion in subnets, especially after scaling events.
- Persistent volume usage above 80% and EBS burst balance on gp2 volumes (gp3 avoids this).
Stop policy drift with admission control
Exceptions made under pressure tend to stay forever. Admission policies make the safe configuration the default and turn exceptions into reviewed, visible objects. Start in Audit mode, fix what it reports, then switch to Enforce.
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
name: require-requests-limits
spec:
validationFailureAction: Audit # switch to Enforce once clean
rules:
- name: containers-need-requests
match:
any:
- resources:
kinds: ["Pod"]
namespaces: ["orders", "payments"]
validate:
message: "CPU and memory requests and a memory limit are required."
pattern:
spec:
containers:
- resources:
requests:
cpu: "?*"
memory: "?*"
limits:
memory: "?*"A monthly day-2 runbook
- Check EKS upgrade insights and the support end date of the current version; schedule the next upgrade.
- Review add-on and Helm chart versions against what is tested in staging.
- Confirm nodes are within their expiry window and running current AMIs.
- Review Pending pods, evictions, and OOMKilled containers from the past month.
- Compare resource requests to actual usage and right-size the top offenders.
- Check Velero backup success and run the restore drill if it is due.
- Review admission policy violations and expire temporary exceptions.
- Review access entries and Pod Identity roles for unused permissions.
- Look at cost by namespace and flag anything that grew without a reason.
A production Kubernetes platform includes this operating rhythm—not only the YAML that first passed a demo. If keeping up with it is pulling engineers away from product work, our managed Kubernetes operations take this runbook off your plate with written response targets.
Key takeaways
- Upgrades, certificates, etcd/backup (or control-plane DR), and capacity are the usual day-2 killers.
- Standardize add-on versions and ownership or clusters drift into pets.
- Cost and reliability both need resource requests/limits that reflect reality.
FAQ
How often should we upgrade clusters?
Follow your provider’s support window with a planned cadence. Skipping versions increases risk more than frequent, rehearsed upgrades.
What should be in a cluster runbook?
Upgrade steps, certificate renewal, node failure response, admission webhook outages, and how to drain or restore critical namespaces.