-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
kubernetes_service
starts with invalid labels
#22696
Labels
Comments
tigrato
added a commit
that referenced
this issue
Mar 7, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
github-actions bot
pushed a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
github-actions bot
pushed a commit
that referenced
this issue
Mar 8, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 9, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 9, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
tigrato
added a commit
that referenced
this issue
Mar 9, 2023
This PR introduces the static label's key validation to Kubernetes Service. Services with invalid labels fail to hearbeat their clusters but the service is kept working. This change forces the service to fail fast during startup if any key is invalid. Fixes #22696
FYI, when this issue occurs in an agent, the teleport root cluster is unable to use the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today, we don't allow spaces in label keys.
If you attempt to start the SSH service with an invalid label, the service fails to start:
This config produces the following failure:
If you apply the same config to the Kubernetes service, the service starts correctly.
On master, I do see heartbeat failures, but they only log warnings and the service otherwise appears to run.
Later on, when a user attempts to
tsh login
they receive an error:At the same time, the kube agent shows the following:
Some thoughts:
The text was updated successfully, but these errors were encountered: