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.
See warning from Kubernetes 1.22.x API:
The change is probably:
sloop/pkg/sloop/ingress/kubewatcher.go
Line 118 in ab455c1
Maybe we can add support for
v1and then removev1beta1in a month or so?