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

register: metadata.name: Invalid value #44

Closed
Zelpher opened this issue Feb 10, 2021 · 0 comments · Fixed by #46
Closed

register: metadata.name: Invalid value #44

Zelpher opened this issue Feb 10, 2021 · 0 comments · Fixed by #46
Labels
good first issue Good for newcomers
Milestone

Comments

@Zelpher
Copy link

Zelpher commented Feb 10, 2021

Hi,

Using your example lead to this error when k3s try to register nodes :

Feb 10 09:18:24 ip-xx-xx-xx-xx k3s[7199]: E0210 09:18:24.566878    7199 kubelet_node_status.go:93] Unable to register node "server_one" with API server: Node "server_one" is invalid: metadata.name: Invalid value: "server_one": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Is it possible to add assertion, or at least update your usage example ?

Thanks,

@xunleii xunleii added bug good first issue Good for newcomers labels Feb 10, 2021
@xunleii xunleii added this to the v2.2.1 milestone Feb 10, 2021
xunleii added a commit that referenced this issue Feb 10, 2021
fix: correct some installation issues (#44 & #45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants