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

[KEDA] Capabilities check needed for Helm file keda/templates/25-metrics-poddisruptionbudget.yaml #325

Closed
hoepfnerj opened this issue Nov 10, 2022 · 1 comment · Fixed by #331
Assignees
Labels
bug Something isn't working

Comments

@hoepfnerj
Copy link

The keda Helm chart cannot be deployed on Kubernetes 1.25 due to apiVersion: policy/v1beta1

Expected Behavior

The keda Helm chart is deployable on Kubernetes 1.25

Actual Behavior

The PodDisruptionBudget for metrics-apiserver cannot be deployed due to removed apiVersion: policy/v1beta1

Steps to Reproduce the Problem

  1. set value "podDisruptionBudget.minAvailable: 1"
  2. deploy on Kubernetes 1.25
  3. Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "keda-operator-metrics-apiserver" namespace: "kube-keda" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
    │ ensure CRDs are installed first

A solution would be to check cluster capabilities in file keda/templates/25-metrics-poddisruptionbudget.yaml the same way as in keda/templates/13-keda-poddisruptionbudget.yaml

Specifications

  • KEDA Version: 2.8.1
  • Platform & Version: Please elaborate
  • Kubernetes Version: 1.25
  • Scaler(s): Please elaborate
@hoepfnerj hoepfnerj added the bug Something isn't working label Nov 10, 2022
@tomkerkhove
Copy link
Member

Are you willing to send a PR?

@JorTurFer JorTurFer self-assigned this Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants