Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase eks max pods #30

Open
lmquang opened this issue Jun 10, 2024 · 0 comments
Open

increase eks max pods #30

lmquang opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@lmquang
Copy link
Owner

lmquang commented Jun 10, 2024

How Do I Enable the Prefix Mode?
You should create the node group with max-pods-per-node

Example:

eksctl create nodegroup --cluster adil-eks-cluster --region eu-west-1 --name adil-nodes --max-pods-per-node 110

If you create your node group with YAML:

managedNodeGroups:
  - name: adil-nodes
    instanceType: t3.medium
    desiredCapacity: 2
    minSize: 2
    maxSize: 4
    maxPodsPerNode: 110

After your nodes are created with a new limit (110), you can enable prefix mode:

kubectl set env daemonset aws-node -n kube-system ENABLE_PREFIX_DELEGATION=true

https://adil.medium.com/how-to-increase-the-pod-limit-on-an-amazon-eks-node-using-prefix-mode-550ba01f0c46

@lmquang lmquang added the k8s label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant