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

Trying to run Druid via provided Helm chart, get "Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "druid-zookeeper" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" #13637

Closed
abankspdx opened this issue Jan 6, 2023 · 6 comments
Labels
Helm Chart https://github.com/apache/druid/tree/master/helm/druid

Comments

@abankspdx
Copy link

I am very new to both Druid and Kubernetes, so forgive me if I've missed something obvious. I'm following this doc:
https://github.com/apache/druid/tree/master/helm/druid

I ran the helm dependency update helm/druid and got the following output, which seems to be expected:

druid git:(master) ✗ helm dependency update helm/druid 
Getting updates for unmanaged Helm repositories...
...Successfully got an update from the "https://charts.helm.sh/incubator" chart repository
...Successfully got an update from the "https://charts.helm.sh/stable" chart repository
...Successfully got an update from the "https://charts.helm.sh/stable" chart repository
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "my-repo" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 3 charts
Downloading zookeeper from repo https://charts.helm.sh/incubator
Downloading mysql from repo https://charts.helm.sh/stable
Downloading postgresql from repo https://charts.helm.sh/stable
Deleting outdated charts

But on the next step, helm install druid helm/druid --namespace dev --create-namespace I get the following error

druid git:(master) ✗ helm install druid helm/druid --namespace dev --create-namespace 
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "druid-zookeeper" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
ensure CRDs are installed first

I'm no expert but I would've assumed this would've been solved in the first step, installing dependencies? Regardless any guidance would be much appreciated.

Affected Version

Master, not sure which version that points to specifically. I noticed that when I switched to the 25.0.0 branch there just aren't helm files?

@abankspdx
Copy link
Author

Any help available?

@YoavNordmann
Copy link

This is happenig to me as well.
Any help on that ?

@YoavNordmann
Copy link

I was able to use this helm chart by changing the zookeeper in Chart.yaml by the following:
- name: zookeeper version: 11.1.0 repository: https://charts.bitnami.com/bitnami condition: zookeeper.enabled

Copy link

This issue has been marked as stale due to 280 days of inactivity.
It will be closed in 4 weeks if no further activity occurs. If this issue is still
relevant, please simply write any comment. Even if closed, you can still revive the
issue at any time or discuss it on the [email protected] list.
Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 22, 2024
@fectrain
Copy link
Contributor

I have encountered same issue with minikube, and it works when I specify a lower kubernates version e.g. 1.22.0 :
minikube start --kubernetes-version=v1.22.0

policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

You can try with a lower version kubernates (< v1.25)

@asdf2014 asdf2014 added Helm Chart https://github.com/apache/druid/tree/master/helm/druid and removed stale Uncategorized problem report labels Jan 25, 2024
@asdf2014
Copy link
Member

As mentioned in PR #15904, we have migrated the Helm Chart to a new repository, we can maintain the Druid Helm Chart together in new repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Helm Chart https://github.com/apache/druid/tree/master/helm/druid
Projects
None yet
Development

No branches or pull requests

4 participants