With the instruction https://docs.aws.amazon.com/eks/latest/userguide/worker.html it is possible to bring up Kube cluster worker nodes. I wanted the worker node not to have public ip. I don't see Amazon gives me that option as when running the cloudformation script. How can I have option not to have public ip on worker nodes
1
votes
3 Answers
1
votes
0
votes
You need to set this behaviour inside your group node template (Cloudformation template).
- You have to download your group node template (ex https://amazon-eks.s3-us-west-2.amazonaws.com/cloudformation/2019-02-11/amazon-eks-nodegroup.yaml)
- Edit yaml file replacing the atribbute AssociatePublicIpAddress to false.
NodeLaunchConfig: Type: AWS::AutoScaling::LaunchConfiguration Properties: AssociatePublicIpAddress: false
- Update your stack (https://console.aws.amazon.com/cloudformation) using the edited file.
0
votes