When deploying a ONEKE Kubernetes cluster with multiple node types, can node taints and labels be configured directly through VM template definitions? Specifically, does OneKE provide template variables (e.g., ONEKE_K8S_NODE_LABEL
) to apply these settings during node provisioning?
Hello @blackhelicopters,
As far as I can check, you can configure Taints and Labels on the CONTEXT section of the VM template.
This can be done by editing directly, or creating some scripts to apply that configuration.
You can check more info on the documentation:
https://docs.opennebula.io/6.6/marketplace/appliances/oneke.html#storage-role
Cheers,
Hey, thanks for the support.
I’ve checked the code and there is no such option: oneke_kubernetes.rb
So I decided to modify the registration flow in order to support not only worker nodes, but any node with custom role/label.
Hello, @blackhelicopters!
The feature you are describing is not currently available in the OneKE appliance. However, we think it would be a nice addition to it, so we’ve created an issue in the one-apps repository so we can have it in future versions of the appliance.
Thank you for your question and helping make OpenNebula better
Cheers
thank you, I’ve commented the issue on github.