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

autoscaling/v2beta2 API is deprecated and leads to an error #14

Open
maylukas opened this issue Jul 30, 2024 · 0 comments
Open

autoscaling/v2beta2 API is deprecated and leads to an error #14

maylukas opened this issue Jul 30, 2024 · 0 comments

Comments

@maylukas
Copy link

From the Kubernetes release notes:

`The autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.

Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.
All existing persisted objects are accessible via the new API
v1.25`

Operator Error

2024-07-30T15:08:43Z ERROR unchanged {"controller": "jitsi", "controllerGroup": "apps.jit.si", "controllerKind": "Jitsi", "Jitsi": {"name":"jitsi-v2","namespace":"jitsi-meet-v2"}, "namespace": "jitsi-meet-v2", "name": "jitsi-v2", "reconcileID": "dd07c0a9-5347-4157-8a2f-406cbff2bbde", "syncer": "HorizontalPodAutoscaler", "key": {"name":"jitsi-v2-jvb","namespace":"jitsi-meet-v2"}, "kind": "autoscaling/v2beta2, Kind=HorizontalPodAutoscaler", "diff": ["<nil pointer> != &HorizontalPodAutoscaler{ObjectMeta:{jitsi-v2-jvb jitsi-meet-v2 0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[] map[] [] [] []},Spec:HorizontalPodAutoscalerSpec{ScaleTargetRef:CrossVersionObjectReference{Kind:,Name:,APIVersion:,},MinReplicas:nil,MaxReplicas:0,Metrics:[]MetricSpec{},Behavior:nil,},Status:HorizontalPodAutoscalerStatus{ObservedGeneration:nil,LastScaleTime:<nil>,CurrentReplicas:0,DesiredReplicas:0,CurrentMetrics:[]MetricStatus{},Conditions:[]HorizontalPodAutoscalerCondition{},},}"], "error": "no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant