-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[BUG] K3s worker only node does not work with system-default-agent args #45607
Comments
SURE-8459 |
CausesTwo reasons cause the bug: 1/ When we enable and set the registry on a DS K3s cluster, Rancher UI sets the following
2/ As a result, the arg WorkaroundInstead of leaving it to Rancher UI to configure the registry on the cluster, we need to edit the cluster as YAML to add the following configuration:
What it does is to set the Note: if your registry needs a credential to log in, you can use the UI to set the registry, but instead of clicking "Save" to apply, click "Edit as YAML", UI should configure the |
To properly fix this bug, we need to move the misplaced argument The same error happens on RKE2's template in KDM, but it does not produce the same error on the DS RKE2 cluster because the rke2-agent does not return an error when seeing an unknown argument. |
Hi @caroline-suse-rancher, the fix would be to be in the k3s template in KDM, which to my knowledge is maintained by the RKE2/K3s team, therefore assigning this issue to you. |
@jiaqiluo @caroline-suse-rancher This issue is over 90 days old, any updates? |
Rancher Server Setup
Information about the Cluster
User Information
N/A
Describe the bug
When using registry.rancher.com or registry.cn-hangzhou.aliyuncs.com as the system-default-registry, creating a k3s cluster and adding the worker only node fails. The configuration delivered to the worker is as follows:
Because k3s agent does not support the
system-default-registry
parameter, the service startup fails.To Reproduce
As described
Result
Expected Result
Worker should be added successfully
Screenshots
N/A
Additional context
It is mostly the KDM problem as the
system-default-args
exists in k3s agent args.The text was updated successfully, but these errors were encountered: