Only one node read on kubectl get nodes

0 votes

I'm trying to start a new Kubernetes cluster on AWS with the following settings:

export KUBERNETES_PROVIDER=aws

export KUBE_AWS_INSTANCE_PREFIX="k8-update-test"
export KUBE_AWS_ZONE="eu-west-1a"
export AWS_S3_REGION="eu-west-1"

export ENABLE_NODE_AUTOSCALER=true

export NON_MASQUERADE_CIDR="10.140.0.0/20"
export SERVICE_CLUSTER_IP_RANGE="10.140.1.0/24"
export DNS_SERVER_IP="10.140.1.10"

export MASTER_IP_RANGE="10.140.2.0/24"
export CLUSTER_IP_RANGE="10.140.3.0/24"

After running $KUBE_ROOT/cluster/kube-up.sh the master appears and 4 (default) minions are started. Unfortunately only one minion gets read. The result of kubectl get nodes is:

NAME                                         STATUS     AGE
ip-172-20-0-105.eu-west-1.compute.internal   NotReady   19h
ip-172-20-0-106.eu-west-1.compute.internal   NotReady   19h
ip-172-20-0-107.eu-west-1.compute.internal   Ready      19h
ip-172-20-0-108.eu-west-1.compute.internal   NotReady   19h

Why is that so?

Oct 10, 2018 in Kubernetes by lina
• 8,110 points

retagged Nov 12, 2018 by Kalgi 54 views

1 answer to this question.

0 votes

I think your Cluster IP range is too small.

answered Oct 10, 2018 by Kalgi
• 41,990 points

Related Questions In Kubernetes

0 votes
1 answer

How can i get all the pods on a node?

You can use the following command to ...READ MORE

answered Jul 12 in Kubernetes by Sirajul
• 36,620 points
42 views
0 votes
1 answer

Accessing remote kubernetes cluster on azure using kubectl

So, try this. Edit your kube config ...READ MORE

answered Sep 11, 2018 in Kubernetes by ajs3033
• 7,280 points
62 views
0 votes
1 answer

DeamonSet pod not scheduling on Master Node

Ever since kubernetes 1.6, DaemonSets are not ...READ MORE

answered Sep 14, 2018 in Kubernetes by DareDev
• 6,810 points
353 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 41,990 points
73 views
0 votes
1 answer
0 votes
1 answer
+2 votes
5 answers
+1 vote
1 answer