https://pulumi.com logo
#general
Title
# general
e

early-musician-41645

10/31/2018, 8:27 PM
When creating an EKS cluster via
@pulumi/eks
I need to specify some CNI env vars, such as
WARM_IP_TARGET
to decrease the pre-allocated pool of IP addresses. How is that accomplished via Pulumi?
c

creamy-potato-29402

10/31/2018, 10:06 PM
cc @microscopic-florist-22719
m

microscopic-florist-22719

10/31/2018, 11:32 PM
Interesting. I don’t think that this is currently possible with
@pulumi/eks
. Does this envvar need to be set on the worker nodes?
w

white-balloon-205

11/01/2018, 3:16 AM
@microscopic-florist-22719 I think the requirement here is actually deeper - it needs to be possible to deploy the CNI YAML prior to nodes being created, and to customize the env vars passed to the CNI daemonset as part of that deployment. My understanding is that this CNI yaml is deployed automatically by EKS, so would need to somehow be updated instead of created by the Pulumi component. Definitely worth opening an issue on this to narrow down what the best extensibility point is to expose to enable this. https://docs.aws.amazon.com/eks/latest/userguide/cni-upgrades.html
2 Views