You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning FailedPostStartHook 3m33s (x3 over 3m48s) kubelet Exec lifecycle hook ([/bin/bash -c kubectl label --overwrite nodes ${NODENAME} gitpod.io/registry-facade_ready_ns_${KUBE_NAMESPACE}=true]) for Container "registry-facade" in Pod "registry-facade-4s9xq_staging-sagor999-workspace-crash-loops-7754(45eff485-2c1b-416d-8665-70016b990c58)" failed - error: command '/bin/bash -c kubectl label --overwrite nodes ${NODENAME} gitpod.io/registry-facade_ready_ns_${KUBE_NAMESPACE}=true' exited with 1: The Node "gke-core-dev-workspace-2-397a333b-3fyh" is invalid: metadata.labels: Invalid value: "gitpod.io/registry-facade_ready_ns_staging-sagor999-workspace-crash-loops-7754": name part must be no more than 63 characters
, message: "The Node \"gke-core-dev-workspace-2-397a333b-3fyh\" is invalid: metadata.labels: Invalid value: \"gitpod.io/registry-facade_ready_ns_staging-sagor999-workspace-crash-loops-7754\": name part must be no more than 63 characters\n"
KUBE_NAMESPACE env variable has to be trimmed to make sure that resulting label name is not longer than 63 characters
Steps to reproduce
Open the workspace from an issue with a very long name.
Observe that registry facade is in crash loop.
this is the namespace that was generated for my workspace: staging-sagor999-workspace-crash-loops-7754
Workspace affected
gitpodio-gitpod-y9237ppnuc5
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This problem is not only for namespaces but also for domain names. Both are using the branch name as basis. Therefore we need a unique scheme how we want to shorten the branch name.
Bug description
gitpod/chart/templates/registry-facade-daemonset.yaml
Line 84 in 8f370dc
KUBE_NAMESPACE env variable has to be trimmed to make sure that resulting label name is not longer than 63 characters
Steps to reproduce
Open the workspace from an issue with a very long name.
Observe that registry facade is in crash loop.
this is the namespace that was generated for my workspace:
staging-sagor999-workspace-crash-loops-7754
Workspace affected
gitpodio-gitpod-y9237ppnuc5
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: