1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
-1
Hello there,
You can set these environment variables as part of your Terraform Configuration. To have flexibility in configuring the env of the CNI, you can set the env outside of your Terraform Configuration as well.
You can also write a script that will generate all the env you want to set using the kubectl
command. Use Terraform to launch the script.
To set WARM_IP_TARGET
to 5 for example, you can use the command below:
kubectl set env ds aws-node -n kube-system WARM_IP_TARGET=5
See more info on the CNI ENVs
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 8 mois
- demandé il y a un mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- Pourquoi le plug-in CNI de mon VPC ne parvient-il pas à atteindre le serveur d'API dans Amazon EKS ?AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
Hey Olawale! Unfortunately, this isn't an answer to my question.
The Terraform resource corresponding to the CNI Daemonset is aws_eks_addon, which doesn't have any mechanism for passing/defining environment variables.
Unfortunately, this doesn't work either- Kubectl is not available in our Terraform environment (Atlantis).