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

Generated machine class name exceeds 63 character limitation #185

Open
EmoinLanyu opened this issue Nov 23, 2020 · 0 comments
Open

Generated machine class name exceeds 63 character limitation #185

EmoinLanyu opened this issue Nov 23, 2020 · 0 comments
Labels
area/control-plane Control plane related kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage) platform/alicloud Alicloud platform/infrastructure

Comments

@EmoinLanyu
Copy link
Contributor

How to categorize this issue?

/area control-plane
/kind bug
/priority normal
/platform alicloud

What happened:
Our user created a Shoot with multiple worker groups, some worker groups have failed to be created.
After investigation, we found that it is caused by exceed of length limitation of metadata.name for corresponding machineclass resources.
Our current way of naming it is shoot--(project_name)--(shoot_name)--(worker_group_name)--(region_id)--(worker_name). And Gardener limits:

  • Project name: 10 chars
  • Shoot name: 15 chars
  • Worker group name: 15 chars

Worker name is auto generated and is usually 5 chars.
If we sum above numbers up (including word shoot and multiple -s), at minimum, there are only 3 chars left for region_id.

What you expected to happen:
Whatever users name their projects, shoots, worker groups, workers should not block the workers from being successfully created.

How to reproduce it (as minimally and precisely as possible):
Create a worker in a worker group whose name is maximum char length, in a shoot whose name is maximum char length, in a project whose name is maximum char length.

Anything else we need to know?:
Currently we see this issue on AliCloud. But I suppose it is the same across all cloud providers.

Environment:
AliCloud Canary

  • Gardener version (if relevant):
  • Extension version: <= 1.19.0
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • Others:
@EmoinLanyu EmoinLanyu added the kind/bug Bug label Nov 23, 2020
@gardener-robot gardener-robot added area/control-plane Control plane related platform/alicloud Alicloud platform/infrastructure priority/normal labels Nov 23, 2020
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Sep 22, 2021
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Control plane related kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage) platform/alicloud Alicloud platform/infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants