aws load-balancer is not registered with instances

后端 未结 2 1341
没有蜡笔的小新
没有蜡笔的小新 2021-02-14 07:07

I use kubeadm to launch cluster on AWS. I can successfully create a load balancer on AWS by using kubectl, bu

2条回答
  •  -上瘾入骨i
    2021-02-14 08:05

    In My case the issue was with the worker nodes not getting the providerId assigned properly.

    I managed to patch the node like - kubectl patch node ip-xxxxx.ap-southeast-2.compute.internal -p '{"spec":{"providerID":"aws:///ap-southeast-2a/i-0xxxxx"}}'

    to add the ProviderID. And then when i deployed the service . The ELB got created. the node group got added and end to end it worked. This is not a straight forward answer . But until i find a better solution let remain here

提交回复
热议问题