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

[Request] Add a feature-gate to limit CloneSet pod name length within 63 chars or less. #1736

Open
veophi opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@veophi
Copy link
Member

veophi commented Sep 11, 2024

What would you like to be added:

Align the pod name limitation of CloneSet with Deployment if enable the feature-gate.

Why is this needed:

Pod name may be used as some label value that is limited within 63 chars or less..

@ABNER-1
Copy link
Member

ABNER-1 commented Sep 11, 2024

@veophi There is a similar issue #1627.

Do you think that if CloneSet supports the use of generateName to randomly generate names by api-server when the length exceeds a certain threshold, it would meet your requirements?

@furykerry
Copy link
Member

can the pod name be saved in annotation value instead of label value?

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

No branches or pull requests

4 participants