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

old (beta) topology labels are going away #3666

Open
thockin opened this issue Nov 3, 2020 · 3 comments
Open

old (beta) topology labels are going away #3666

thockin opened this issue Nov 3, 2020 · 3 comments
Labels
area/cluster-autoscaler area/core-autoscaler Denotes an issue that is related to the core autoscaler and is not specific to any provider. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@thockin
Copy link
Member

thockin commented Nov 3, 2020

Hello.

The labels failure-domain.beta.kubernetes.io/zone and failure-domain.beta.kubernetes.io/region have been deprecated for almost a year now and are scheduled to be removed from kubernetes/kubernetes after 1.20 (Q1'21).

In prep for that I scanned all our repos looking for places that reference the old names and not the new ones. There are a couple such places in this repo. Without knowing exactly what this codebase is doing, I can't say for sure if it is a problem or not, so I am just filing issues.

Please take a look and be advised of this upcoming change.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 1, 2021
@thockin
Copy link
Member Author

thockin commented Feb 1, 2021

/lifecycle frozen
/remove-lifecycle stale
/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 1, 2021
@alx13
Copy link

alx13 commented Mar 3, 2021

Already hit this issue, I tried to use topology.kubernetes.io/zone for a nodeSelector on EKS 1.18

If autoscaling group have no instances at the moment and you are deploying a pod with this selector, cluster-autoscaler will not scale ASG from 0, because it's not aware of the new labels.

https://github.com/kubernetes/api/blob/v0.20.4/core/v1/well_known_labels.go#L24

func buildGenericLabels(template *asgTemplate, nodeName string) map[string]string {

@towca towca added area/cluster-autoscaler area/core-autoscaler Denotes an issue that is related to the core autoscaler and is not specific to any provider. labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler area/core-autoscaler Denotes an issue that is related to the core autoscaler and is not specific to any provider. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

5 participants