helm upgrade mongodb fails with error "unable to build kubernetes objects"

Viewed 41

In process of project initialization I have a command:

helm upgrade mongodb mongodb/mongodb --install --set replicaSet.enabled=true.

Which fails with error:

Release "mongodb" does not exist. Installing it now.
Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "mongodb-arbiter" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first, resource mapping not found for name: "mongodb-secondary" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first]

Can you please suggest what to do?

0 Answers
Related