Skip to content

fix: HPA v2 for k8s 1.26+ - #92

Merged
josephsirak merged 1 commit into
outerbounds:masterfrom
nschmeller:patch-3
Aug 26, 2025
Merged

fix: HPA v2 for k8s 1.26+#92
josephsirak merged 1 commit into
outerbounds:masterfrom
nschmeller:patch-3

Conversation

@nschmeller

@nschmeller nschmeller commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

Installing the Metaflow Helm chart beyond version 0.1.0 on supported k8s versions will cause this error:

The Kubernetes API could not find version "v2beta2" of autoscaling/HorizontalPodAutoscaler for requested resource metaflow/metaflow-kubeaagentdevus1-metaflow-service. Version "v1" of autoscaling/HorizontalPodAutoscaler is installed on the destination cluster.

The v2beta2 API was removed in k8s 1.26.

This commit bumps the version from v2beta2 to v2.

Installing the Metaflow Helm chart beyond version `0.1.0` on supported k8s versions will cause this error:

```console
The Kubernetes API could not find version "v2beta2" of autoscaling/HorizontalPodAutoscaler for requested resource metaflow/metaflow-kubeaagentdevus1-metaflow-service. Version "v1" of autoscaling/HorizontalPodAutoscaler is installed on the destination cluster.
```

The `v2beta2` API was removed in [k8s 1.26](https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-26). 

This commit bumps the version from `v2beta2` to `v2`.
@josephsirak
josephsirak merged commit d24572c into outerbounds:master Aug 26, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants