-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add namingStrategy for InfrastructureCluster #11671
Comments
@simonostendorf: The label(s) In response to this:
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-sigs/prow repository. |
/area clusterclass |
/triage accepted Feel free to take a look, assign and open a PR for this :-) |
/help |
@chrischdi: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
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-sigs/prow repository. |
/assign |
Hi @simonostendorf I am interested to work on this. Could you please provide more information, it will be really helpful |
Nice, thank you! Currently it's only supported to define a naming scheme for the ControlPlane hosts. The Infra Cluster gets a name with cluster name and a random string. I think it is useful to allow a naming scheme for this, so that the cluster can be named like the cluster name without the random string or something like that. Do you understand what I mean? |
Did you mean something similar like we already we have ? |
I would like to see an option that the Infra Cluster gets the same name as the Cluster object when using Topology feature. I haven't thought about the implementation yet. I was thinking about something like the namingStrategy that exists for machines, see https://doc.crds.dev/github.com/kubernetes-sigs/cluster-api/controlplane.cluster.x-k8s.io/KubeadmControlPlaneTemplate/v1beta1@v1.9.4#spec-template-spec-machineNamingStrategy |
What would you like to be added (User Story)?
As a cluster administrator I want to control how my InfrastructureClusters are named so that they match my other cluster-api components.
Detailed Description
When using cluster-classes the user can change the naming scheme of the resulting control-plane and the machine-deployment / machine-pool objects but not for the infrastructure cluster.
I think it would be nice to support a namingStrategy for infrastructure as well. This would allow me to remove the random id at the end because my cluster names are already random ids.
Anything else you would like to add?
No response
Label(s) to be applied
/kind feature
/area cluster-class
The text was updated successfully, but these errors were encountered: