unable to add node in kubernetes cluster from different cloud provider using rancher?

6/5/2019

I have a running kubernetes cluster on azure cloud. Cluster has 1 master node and 3 worker node. When i am trying to add a new worker node(Running on AWS) then it shows a message as

Waiting to register with Kubernetes

The new node which i am trying to add is running on AWS as cluster is running on Azure cloud.

I have opened the issue on github as well https://github.com/rancher/rancher/issues/20651

Has anyone faced the same issue ?

Below command we run on worker node Edit:

sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run rancher/rancher-agent:v2.1.6 --server https://PUBLIC_IP --token 9wdfgr66fghgfhghfghfh45648w --ca-checksum a0dfgfgrty65757g4a452353a2328531690 --worker
-- TechChain
amazon-web-services
azure
kubernetes
rancher

0 Answers