Pods not getting schedueld/assigned ip address on the new node added to k8s cluster using kubespray

11/27/2019

Used kubespray to add worker node to existing cluster. The node joined to the cluster but new pods schedueld on the nodes are failing with error "get https://10.233.0.1 : dial tcp 10.233.0.1: 443 connection refused"

Network plugin - calico kube-proxy running in ipvs mode

  1. From new worker node, can connect to master server ip address over 6443
  2. From new worker node, cannot access cluster ip 10.233.0.1 over port 443
  3. Calico, nodelocaldns and kube-proxy pods are in running state on new node
  4. Kube-proxy logs show error "invalid nodeIP, initializing kube-proxy with 127.0.0.1 as nodeIP" Unable to write event: 'Post https://127.0.0.1:6443/api/v1/namespaces/default/events dial tcp 127.0.0.1:6443 connection refused"
  5. ipvsadm -ln output do not show any services
  6. ip addr show output do not show kube-ipvs0 and calico interfaces

Can someone please help. Thanks

-- Pushpa
calico
ipvs
kube-proxy
kubernetes
kubespray

0 Answers