-
Notifications
You must be signed in to change notification settings - Fork 407
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
[feature request]Support for bootstrapping yurthub component using node certificates. #1618
Comments
/assign @rambohe-ch |
@rambohe-ch i'm trying to make yurthub work using k3s agent on the node and k3s on server side. I think this isn't so far from working. The precondition is: First i tried to use the k3s bootstrap token, but the token format differs completely from the kubeadm token format, so the yurthub cannot ask for a valid cert. This behavior is baked in in yurthub to handle only kubeadm token formats which is This is my yurthub.yaml on my node i want to join using k3s
However, on startup it complains
I'm puzzled what bootstrap file should be used here and how does such a bootstrap file look like? |
@siredmar Thanks for your response, I think it is a bug of kubeletcertificate mode for bootstrapping kubelet, because bootstrap token or bootstrap file is not needed for kubeletcertificate mode. would you like to post a pull request to fix this miss? |
What would you like to be added:
In addition to the current use of bootstrap tokens to bootstrap start yurthub, I'd like to support the use of node certificates to bootstrap start yurthub, so that yurthub can run on nodes as a regular pod rather than a static pod.
Why is this needed:
In some scenarios, kubelet may not need to use yurthub, but other components do, so that yurthub can use the kubelet's node certificates instead of having to apply for a new one.
others
/kind feature
The text was updated successfully, but these errors were encountered: