Opscraft
Kubernetes, EKS, GitOps & releases

Amazon EKS

11 lessons · 41 min · 3 tests ·

EKS is AWS's managed Kubernetes and the most common way AWS-based companies run Kubernetes. Senior interviews go beyond "AWS runs the control plane": they probe how pods get IAM permissions (IRSA vs Pod Identity), how the VPC CNI assigns IPs and what to do when you run out, how load balancers are provisioned, how Karpenter differs from Cluster Autoscaler, how access is managed with access entries, how you upgrade safely, and how you control cost and multi-tenancy. This topic covers all of it, ending with a model answer describing a Kustomize + Flux setup.

Stage 3 · Production platforms

Know these first

After this topic you can

  • Build and upgrade an EKS cluster with managed nodes or Karpenter
  • Give pods AWS permissions with IRSA or Pod Identity
  • Run load balancers, storage and add-ons on EKS

Lessons

  1. 1EKS architecture and responsibilities 4 min read
    • What AWS runs and what you run
    • Cluster endpoint access
    • Versions, support and pricing
    • Useful CLI
  2. 2Compute options 3 min read
    • Choices
    • Node OS and AMIs
    • Node IAM role
  3. 3Networking with the VPC CNI 6 min read
    • How the Amazon VPC CNI works
    • Running out of IPs
    • Security groups for pods and network policies
    • Load balancing with the AWS Load Balancer Controller
  4. 4Identity: cluster access and pod IAM 4 min read
    • Cluster access: access entries
    • Pod IAM with IRSA
    • EKS Pod Identity
    • Least privilege examples
  5. 5Autoscaling: Cluster Autoscaler vs Karpenter 4 min read
    • Cluster Autoscaler
    • Karpenter
    • Pod-level autoscaling
  6. 6Storage, add-ons and observability 4 min read
    • Storage
    • Managed add-ons
    • Observability
    • Secrets
    • GitOps on EKS
  7. 7Security hardening 3 min read
  8. 8Upgrades and day-2 operations 3 min read
    • In-place upgrade procedure
    • Blue/green cluster upgrades
    • Other routine operations
  9. 9Cost optimisation and multi-tenancy 3 min read
    • Where EKS money goes
    • Levers
    • Multi-tenant cluster design
  10. 10Troubleshooting EKS-specific problems 3 min read
  11. 11Interview questions and model answers 4 min read
    • "Explain IRSA."
    • "Your cluster ran out of IPs at peak. Short and long term?"
    • "Karpenter vs Cluster Autoscaler?"
    • "How do you give developers read-only kubectl access safely?"
    • "Walk me through upgrading EKS from 1.29 to 1.31."
    • "Pods can't pull from ECR after moving nodes to private subnets."
    • "How did you structure environments with Kustomize and Flux?" (example answer)
    • "How do you handle an AZ failure in EKS?"