-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unexpected providerID format #126
Comments
@ty2 this usually happens if there's a mismatch of the droplet name and the kubernetes node name. See https://github.com/digitalocean/digitalocean-cloud-controller-manager/blob/master/docs/getting-started.md#kubernetes-node-names-must-match-the-droplet-name-private-ipv4-ip-or-public-ipv4-ip for more details. If the names match then this may be a bug related to setting |
@andrewsykim Your assumption is correct. Before I found this project, the node's internal IP is version: Finally, I have resolved the labelling problem but I am not sure if it is related to Here is my journal showing how to reproduce this bug (node labelling is not functional) and resolved it. Test 1:
Test 2:
Thanks. |
@ty2 thank you very much for the detailed steps to reproduce. Let me take a look at this and report back to you here :) |
Did you happen to set the |
I didn't try to set the Btw, after scale up my worker droplet in digitalocean dashboard, the label I manually add the taint to force update it. |
What do you mean by scale up? Did you create a new droplet with the same name? |
That means resize droplet RAM and CPU in DO Dashboard. For example, I switch off my worker droplet, resize it from 1GRAM to 2GRAM plan and switch on it in DO Dashboard , All the droplets have a unique hostname. |
Ahh I see! So I believe that is expected as those labels are only set during registration (i.e when the taint it set, see here). Kubernetes doesn't really handle the case where a node is rebooted with different properties and it's usually recommended that if you change the underlying machine, it should be registered as a new node. |
Closing as this is expected behaviour upstream |
I am following CCM deployment instruction in https://github.com/digitalocean/digitalocean-cloud-controller-manager/blob/master/docs/getting-started.md.
After deployed, load balancing and node addressing are work great but node labelling is not working.
kubectl get no
kubectl logs
The text was updated successfully, but these errors were encountered: