Skip to content
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

Apply default minikube labels to all nodes #16415

Closed
marcellmartini opened this issue May 2, 2023 · 5 comments · Fixed by #16416
Closed

Apply default minikube labels to all nodes #16415

marcellmartini opened this issue May 2, 2023 · 5 comments · Fixed by #16416
Assignees
Labels
co/multinode Issues related to multinode clusters

Comments

@marcellmartini
Copy link
Contributor

What Happened?

Minikube has a method called kubeadm.applyNodeLabels(), and the objective was to apply labels to all nodes, but it only applies labels to the primary node.

Attach the log file

log.txt

Operating System

Ubuntu

Driver

Docker

@marcellmartini
Copy link
Contributor Author

/assign

@marcellmartini
Copy link
Contributor Author

Hi @spowelljr, is there anything else that I have to do on this issue? Let me know if anything is missing. 😄 👍

@spkane
Copy link

spkane commented Aug 30, 2023

@marcellmartini I am having trouble finding this feature in the documentation. How does one setup configuration to define labels you want to apply to your minikube nodes?

@marcellmartini marcellmartini changed the title Apply label to all minikube nodes Apply default mnikube labels to all nodes Aug 30, 2023
@marcellmartini
Copy link
Contributor Author

Hello @spkane, it seems that setting custom labels on setup configurations might not be possible.

This issue primarily relates to the default labels that Minikube configures within the cluster when you initiate the creation of a new cluster.

@spkane
Copy link

spkane commented Aug 31, 2023

Hello @spkane, it seems that setting custom labels on setup configurations might not be possible.

Ahh. That makes sense. I appreciate the clarification.

I was hoping that this was related to some config option that would apply these labels to the nodes during setup, but this helps explain why I couldn't figure it out.

@marcellmartini marcellmartini changed the title Apply default mnikube labels to all nodes Apply default minikube labels to all nodes Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/multinode Issues related to multinode clusters
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants