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

Add support for policy/v1 PodDisruptionBudget #251

Open
karlskewes opened this issue Jan 28, 2023 · 0 comments
Open

Add support for policy/v1 PodDisruptionBudget #251

karlskewes opened this issue Jan 28, 2023 · 0 comments

Comments

@karlskewes
Copy link
Contributor

See warning from Kubernetes 1.22.x API:

W0128 04:41:27.669097       1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

The change is probably:

i.informerFactory.Policy().V1beta1().PodDisruptionBudgets().Informer().AddEventHandler(i.getEventHandlerForResource("PodDisruptionBudget", enableGranularMetrics))

Maybe we can add support for v1 and then remove v1beta1 in a month or so?

  • Kubernetes 1.21 went end of life 28th June 2022 (source) though it is still available on Amazon EKS until February 15 2023 - (source).
  • Kubernetes 1.23 goes end of life upstream on 28th Feb 2023 - source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant