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

Adjust the statefulset naming convention shorter to accommodate longer registry name #120

Closed
krimeshshah opened this issue Jan 2, 2024 · 1 comment · Fixed by #129
Closed
Assignees
Labels

Comments

@krimeshshah
Copy link

krimeshshah commented Jan 2, 2024

How to categorize this issue?

/kind bug

We were investigating on using the gardener registry cache extension following this document https://github.com/gardener/gardener-extension-registry-cache/blob/v0.3.0/docs/usage/configuration.md. After adding the list of registry in the extension , reconciliation of the cluster fails due to some of registry FQDN has a longername and in addition, creation of pod and stateful set adds "registry" word as a prefix which makes the name more longer and causes the failure in the creation of pod and statefulset.

Error :
create Pod registry-deploy-releases-common-repositories-cloud-sap-0 in StatefulSet registry-deploy-releases-common-repositories-cloud-sap failed error: Pod "registry-deploy-releases-common-repositories-cloud-sap-0" is invalid: metadata.labels: Invalid value: "registry-deploy-releases-common-repositories-cloud-sap-f988b5f85": must be no more than 63 characters**: 

Why is this needed:

@gardener-prow gardener-prow bot added the kind/enhancement Enhancement, improvement, extension label Jan 2, 2024
Copy link
Contributor

gardener-prow bot commented Jan 2, 2024

@krimeshshah: The label(s) area/todo cannot be applied, because the repository doesn't have them.

In response to this:

How to categorize this issue?

/area TODO
/kind enhancement

What would you like to be added We were investigating on using the gardener registry cache extension following this document https://github.com/gardener/gardener-extension-registry-cache/blob/v0.3.0/docs/usage/configuration.md. After adding the list of registry in the extension , reconciliation of the cluster fails due to some of registry FQDN has a longername and in addition, creation of pod and stateful set adds "registry" word as a prefix which makes the name more longer and causes the failure in the creation of pod and statefulset.
Error :
create Pod registry-deploy-releases-common-repositories-cloud-sap-0 in StatefulSet registry-deploy-releases-common-repositories-cloud-sap failed error: Pod "registry-deploy-releases-common-repositories-cloud-sap-0" is invalid: metadata.labels: Invalid value: "registry-deploy-releases-common-repositories-cloud-sap-f988b5f85": must be no more than 63 characters
:

Why is this needed:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants