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

bootstrap.sh exists with error but still attaches nodes if CIDR is not 10.0.0.0/16 #136

Closed
Ohadbasan opened this issue Dec 25, 2018 · 1 comment

Comments

@Ohadbasan
Copy link

What happened:

bootstrap.sh exists with error on line 110 if the node subnet is not 10.0.0.0/16, yet the nodes still attach to the cluster.
(my subnet is 172.31.0.0/16)

What you expected to happen:

either the nodes should fail to connect to the cluster or shouldn't fail or a subnet that starts with 10.* should not be hardcoded.

How to reproduce it (as minimally and precisely as possible):

set up an eks subnets where the nodes run in a subnet different from 10.0.0.0/16

Environment:

  • AWS Region: us-east-1
  • Instance Type(s): t3.medium
  • EKS Platform version (use aws eks describe-cluster --name <name> --query cluster.platformVersion):eks.1
  • Kubernetes version (use aws eks describe-cluster --name <name> --query cluster.version):
  • AMI Version: 1.11
  • Kernel (e.g. uname -a):Linux ip-172-31-2-61 4.14.77-81.59.amzn2.x86_64 Template is missing source_ami_id in the variables section #1 SMP Mon Nov 12 21:32:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
@micahhausler
Copy link
Member

So the script was not actually exiting, but the trap caught an err or and thought that it exited. This is fixed in #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants