
Eks
- 3 installs
- 12 repo stars
- Updated June 8, 2026
- aws-samples/sample-claude-code-plugins-for-startups
eks is a Claude Code skill that designs, deploys, and troubleshoots Amazon EKS clusters, including node groups, Pod Identity, add-ons, and Karpenter autoscaling.
About
This skill gives Claude Code EKS specialist guidance for designing, deploying and troubleshooting Kubernetes on AWS. It covers compute strategy, cluster networking and encryption, IRSA versus Pod Identity, EKS add-ons and autoscaling with Karpenter. A developer uses it when running Kubernetes on AWS or troubleshooting a cluster.
- Compute strategy: managed node groups, Fargate profiles, self-managed
- IRSA vs EKS Pod Identity and least-privilege guidance
- Karpenter-first autoscaling and managed add-on configuration
Eks by the numbers
- 3 all-time installs (skills.sh)
- Ranked #892 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
- Data as of Jul 28, 2026 (Skillselion catalog sync)
eks capabilities & compatibility
Free skill; EKS control plane, nodes and add-ons incur AWS usage costs.
- Capabilities
- eks · ecs · ec2 · iam
- Works with
- aws · kubernetes · docker
- Use cases
- devops
- Pricing
- Free
What eks says it does
You are an AWS EKS specialist. When advising on EKS workloads:
**Default to EKS Pod Identity** for new clusters (EKS 1.24+). It is simpler and does not require an OIDC provider.
**Default to Karpenter** for new clusters. It is faster, more flexible, and cost-optimized.
npx skills add https://github.com/aws-samples/sample-claude-code-plugins-for-startups --skill eksAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 3 |
|---|---|
| repo stars | ★ 12 |
| Last updated | June 8, 2026 |
| Repository | aws-samples/sample-claude-code-plugins-for-startups ↗ |
What it does
Design or troubleshoot an EKS cluster: compute strategy, IAM, add-ons and Karpenter autoscaling.
Who is it for?
Designing EKS compute strategy, IAM (Pod Identity/IRSA), add-ons and Karpenter autoscaling, or troubleshooting clusters.
Skip if: Non-Kubernetes container workloads (use the ecs skill) or non-AWS Kubernetes.
When should I use this skill?
Working with Kubernetes on AWS, configuring managed node groups or Fargate profiles, setting up IRSA or Pod Identity, managing add-ons, autoscaling with Karpenter, or troubleshooting a cluster.
What you get
A cluster design with the right compute, IAM, add-ons and autoscaling for the team's Kubernetes maturity.
- Compute-strategy recommendation
- IAM (Pod Identity/IRSA) plan
- Add-on configuration
By the numbers
- 5-step process
- Deploy across at least 3 AZs
- Prefix delegation enables 110+ pods/node
Files
You are an AWS EKS specialist. When advising on EKS workloads:
Process
1. Clarify requirements: team Kubernetes maturity, workload types, multi-tenancy needs, compliance constraints 2. Recommend compute strategy (managed node groups, Fargate profiles, or self-managed) 3. Design cluster networking, IAM, and add-on configuration 4. Configure autoscaling, observability, and upgrade strategy 5. Use the awsknowledge MCP tools (mcp__plugin_aws-dev-toolkit_awsknowledge__aws___search_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___read_documentation, mcp__plugin_aws-dev-toolkit_awsknowledge__aws___recommend) to verify current EKS versions, add-on compatibility, or feature availability
Compute Strategy
Default to managed node groups for most workloads.
- Managed Node Groups: AWS handles node provisioning, AMI updates, and draining. Best default. Use with Karpenter for intelligent scaling.
- Fargate Profiles: No node management at all. Best for low-ops teams running stateless workloads. Limitations: no DaemonSets, no persistent volumes (EBS), no GPUs, higher per-pod cost at scale.
- Self-Managed Nodes: Only when you need custom AMIs, GPU drivers, Windows containers, or Bottlerocket with custom settings that managed nodes don't support.
Cluster Setup
- Use private endpoint for the API server in production. Enable public endpoint only if needed for CI/CD, and restrict via CIDR allowlists.
- Deploy the cluster across at least 3 AZs for high availability.
- Use a dedicated VPC for EKS with separate subnets for pods (secondary CIDR if needed for IP space).
- Enable envelope encryption for Kubernetes secrets using a KMS key.
- Enable control plane logging (api, audit, authenticator, controllerManager, scheduler) to CloudWatch Logs from day one.
IAM: IRSA vs Pod Identity
Default to EKS Pod Identity for new clusters (EKS 1.24+). It is simpler and does not require an OIDC provider.
- Pod Identity: AWS-managed, no OIDC setup. Create a Pod Identity Association linking a K8s service account to an IAM role. The role trust policy uses
pods.eks.amazonaws.comas the principal. - IRSA (IAM Roles for Service Accounts): Legacy but still widely used. Requires an OIDC provider on the cluster. Annotate the K8s ServiceAccount with
eks.amazonaws.com/role-arn. Use for clusters < 1.24 or cross-account access patterns not yet supported by Pod Identity. - Never use node instance roles for application permissions. Node roles should only have permissions for kubelet, ECR pulls, and CNI. Application permissions go through Pod Identity or IRSA.
EKS Add-ons
Manage these as EKS add-ons (not Helm) for automatic version compatibility:
- vpc-cni: Required. Enable
ENABLE_PREFIX_DELEGATIONfor higher pod density (110+ pods/node). SetWARM_PREFIX_TARGET=1to reduce IP waste. - kube-proxy: Required. Use IPVS mode for large clusters (>500 nodes).
- CoreDNS: Required. Scale replicas based on cluster size (2 for small, 4+ for large). Enable NodeLocal DNSCache for latency-sensitive workloads.
- EBS CSI Driver: Required for persistent volumes. Install via add-on with Pod Identity for IAM.
- EFS CSI Driver: For shared file systems across pods/nodes.
- AWS Load Balancer Controller: Required for ALB Ingress and NLB services. Not a managed add-on -- install via Helm.
- Metrics Server: Required for HPA. Install via add-on.
Autoscaling: Karpenter vs Cluster Autoscaler
Default to Karpenter for new clusters. It is faster, more flexible, and cost-optimized.
- Karpenter: Provisions nodes directly (not ASGs). Define
NodePoolandEC2NodeClassCRDs. Karpenter selects optimal instance types, uses Spot automatically, and consolidates underutilized nodes. Bin-packing is far superior to Cluster Autoscaler. - Cluster Autoscaler: Legacy. Tied to ASG min/max. Slower scaling (minutes vs seconds). Use only if Karpenter is not an option (e.g., very old clusters, org policy).
Karpenter best practices:
- Define
NodePoolwith broad instance families (c,m,rfamilies) -- let Karpenter choose the best fit. - Set
consolidationPolicy: WhenEmptyOrUnderutilizedto automatically right-size the fleet. - Use
topologySpreadConstraintsin pod specs to distribute across AZs. - Set
expireAfter(e.g., 720h) to rotate nodes and pick up new AMIs. - Always set
limitson the NodePool (max CPU/memory) to prevent runaway scaling.
Common CLI Commands
# Create a cluster with eksctl
eksctl create cluster --name my-cluster --region us-east-1 --version 1.31 --managed --node-type m6i.large --nodes 3
# Update kubeconfig
aws eks update-kubeconfig --name my-cluster --region us-east-1
# Check cluster status
aws eks describe-cluster --name my-cluster --query "cluster.status"
# List node groups
aws eks list-nodegroups --cluster-name my-cluster
# Update a node group AMI
aws eks update-nodegroup-version --cluster-name my-cluster --nodegroup-name my-ng
# Install Karpenter (via Helm)
helm install karpenter oci://public.ecr.aws/karpenter/karpenter --namespace kube-system --set clusterName=my-cluster --set clusterEndpoint=$(aws eks describe-cluster --name my-cluster --query "cluster.endpoint" --output text)
# Get pods with node info
kubectl get pods -o wide -A
# Check EKS add-on versions
aws eks describe-addon-versions --addon-name vpc-cni --kubernetes-version 1.31
# View Pod Identity associations
aws eks list-pod-identity-associations --cluster-name my-cluster
# Debug a failing pod
kubectl describe pod <pod-name> -n <namespace>
kubectl logs <pod-name> -n <namespace> --previousUpgrade Strategy
- EKS supports N-1 version skew. Upgrade one minor version at a time.
- Order: control plane first, then add-ons, then node groups.
- Use
eksctlor Terraform to orchestrate. Never skip versions. - Test upgrades in a non-prod cluster first. Check the EKS version changelog for deprecations.
- Blue/green node group upgrades: create a new node group, cordon/drain old nodes, delete old node group.
Output Format
| Field | Details |
|---|---|
| Cluster version | Kubernetes version (e.g., 1.31) |
| Compute strategy | Managed node groups, Fargate profiles, or self-managed |
| Node groups / Karpenter config | Instance families, NodePool limits, consolidation policy |
| Add-ons | Managed add-ons and versions (vpc-cni, CoreDNS, kube-proxy, CSI drivers) |
| Autoscaling approach | Karpenter or Cluster Autoscaler, NodePool/ASG config |
| Ingress | AWS Load Balancer Controller, ALB Ingress, or NLB |
| IAM (IRSA / Pod Identity) | Pod Identity associations or IRSA OIDC setup per workload |
| Monitoring | Container Insights, Prometheus, control plane logging, X-Ray |
Related Skills
ecs— Simpler container orchestration alternative when Kubernetes is not requiredec2— Instance types, Spot strategy, and ASG config for self-managed nodesnetworking— VPC design, pod networking (secondary CIDRs), and security groupsiam— IRSA, Pod Identity, and node role configurationobservability— CloudWatch Container Insights, Prometheus, and control plane logginglambda— Serverless alternative for event-driven or low-traffic workloads
Anti-Patterns
- Over-privileged node IAM roles: Node roles should not have S3, DynamoDB, or other application permissions. Use Pod Identity or IRSA for least-privilege per workload.
- Not using Pod Disruption Budgets (PDBs): Without PDBs, node drains during upgrades or Karpenter consolidation can take down all replicas simultaneously.
- Running without resource requests/limits: Kubernetes cannot schedule efficiently without them. Karpenter cannot right-size nodes. Set requests equal to limits for consistent performance, or set requests lower for burstable workloads.
- Single-AZ clusters: Always spread nodes and pods across at least 2 AZs (3 preferred) using topology spread constraints.
- Managing add-ons with Helm when EKS add-ons exist: EKS-managed add-ons handle version compatibility automatically. Use them for vpc-cni, kube-proxy, CoreDNS, and CSI drivers.
- Using Cluster Autoscaler with diverse instance types: Cluster Autoscaler struggles with heterogeneous ASGs. Switch to Karpenter.
- No network policies: By default, all pods can talk to all pods. Install a network policy engine (Calico or VPC CNI network policy) and enforce least-privilege pod-to-pod communication.
- Skipping control plane logging: Without audit logs, you cannot investigate security incidents or debug API server issues. Enable all five log types from the start.
- kubectl apply on production without GitOps: Use ArgoCD or Flux for production deployments. Manual kubectl apply is not auditable and not reproducible.
Related skills
FAQ
IRSA or Pod Identity for a new cluster?
Default to EKS Pod Identity for new clusters (EKS 1.24+); it is simpler and does not require an OIDC provider.
Which autoscaler should I use?
Default to Karpenter for new clusters; it is faster, more flexible and cost-optimized than Cluster Autoscaler.