Commit d24572c
authored
fix: HPA v2 for k8s 1.26+ (#92)
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`.1 parent da6598a commit d24572c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments