eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

Output suggests creation of trillons of nodes.

Open Nonymus opened this issue 7 years ago • 1 comments

What happened? Created a cluster, with defaults, except for region, which I set to eu-central-1

What you expected to happen? Everything went fine, except the output told me

[ℹ]  waiting for at least 824645529280 node(s) to become ready in "ng-40cbe42d"

, which gave be a brief shock. In the end, only 2 nodes have been created though.

How to reproduce it? eksctl create cluster --region eu-central-1

Anything else we need to know? Running on MacOS 10.13, downloaded eksctl from github.

Versions Please paste in the output of these commands:

$ eksctl version
[ℹ]  version.Info{BuiltAt:"", GitCommit:"", GitTag:"0.1.20-rc.1"}
$ uname -a
Darwin jposchma-nb2.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20 21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-13T23:16:58Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.5-eks-6bad6d", GitCommit:"6bad6d9c768dc0864dab48a11653aa53b5a47043", GitTreeState:"clean", BuildDate:"2018-12-06T23:13:14Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

Logs

$ eksctl create cluster --region eu-central-1
[ℹ]  using region eu-central-1
[ℹ]  setting availability zones to [eu-central-1a eu-central-1c eu-central-1b]
[ℹ]  subnets for eu-central-1a - public:192.168.0.0/19 private:192.168.96.0/19
[ℹ]  subnets for eu-central-1c - public:192.168.32.0/19 private:192.168.128.0/19
[ℹ]  subnets for eu-central-1b - public:192.168.64.0/19 private:192.168.160.0/19
[ℹ]  nodegroup "ng-40cbe42d" will use "ami-010caa98bae9a09e2" [AmazonLinux2/1.11]
[ℹ]  creating EKS cluster "hilarious-wardrobe-1548937947" in "eu-central-1" region
[ℹ]  will create 2 separate CloudFormation stacks for cluster itself and the initial nodegroup
[ℹ]  if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=eu-central-1 --name=hilarious-wardrobe-1548937947'
[ℹ]  creating cluster stack "eksctl-hilarious-wardrobe-1548937947-cluster"
[ℹ]  creating nodegroup stack "eksctl-hilarious-wardrobe-1548937947-nodegroup-ng-40cbe42d"
[ℹ]  --nodes-min=2 was set automatically
[✔]  all EKS cluster resource for "hilarious-wardrobe-1548937947" had been created
[✔]  saved kubeconfig as "/Users/JPoschma/.kube/config"
[ℹ]  nodegroup "ng-40cbe42d" has 0 node(s)
[ℹ]  waiting for at least 824645529280 node(s) to become ready in "ng-40cbe42d"
[ℹ]  nodegroup "ng-40cbe42d" has 2 node(s)
[ℹ]  node "ip-192-168-16-73.eu-central-1.compute.internal" is ready
[ℹ]  node "ip-192-168-80-88.eu-central-1.compute.internal" is ready
[ℹ]  kubectl command should work with "/Users/JPoschma/.kube/config", try 'kubectl get nodes'
[✔]  EKS cluster "hilarious-wardrobe-1548937947" in "eu-central-1" region is ready

Nonymus avatar Jan 31 '19 12:01 Nonymus

Yes, I've also noticed this. It's an issue in 0.1.20-rc.1. I'm already looking into this.

errordeveloper avatar Jan 31 '19 14:01 errordeveloper