question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `enablePrefixDelegation` option to `VpcCniOptions`

See original GitHub issue

In order to increase pod-density, I need to set an environment variable for the aws-node DaemonSet.

See: https://docs.aws.amazon.com/eks/latest/userguide/cni-increase-ip-addresses.html

Using kubectl, this is a one-liner:

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

As I am creating the cluster via pulumi, I am searching for a way to set the environment variable via pulumi. Is there any way I can set this environment variable using pulumi? Or is there another workaround to integrate this into the pulumi program?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidrothcommented, Apr 22, 2022
1reaction
davidrothcommented, Aug 10, 2021

@lblackstone After reviewing cni.ts, I think it would make sense to add a enablePrefixDelegation property to VPcCniOptions and push that to the list of environment variables in cni.ts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Increase the amount of available IP addresses for your ...
Learn how to significantly increase the number of IP addresses that you can assign to pods on each Amazon EC2 node in your...
Read more >
Enable prefixes delegation by default · Issue #1571 - GitHub
Prefix delegations is enabled since v1.9.0, but not by default. What would you like to be added: ENABLE_PREFIX_DELEGATION=true by default if ...
Read more >
Prefix Mode - EKS Best Practices Guides
Prefix mode is enabled by default on IPv6 clusters and is the only option supported. The VPC CNI assigns a /80 IPv6 prefix...
Read more >
EKS VPC CNI Addon - Support for high pod density in node
The Amazon VPC CNI add-on (v1.9.0 or later) can be configured to assign /28 ... Without enabling the prefix delegation feature or non-nitro ......
Read more >
Work with prefixes - Amazon Elastic Compute Cloud
In the navigation pane, choose Network Interfaces. · Select the network interface to which to assign the prefixes, and choose Actions, Manage prefixes....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found