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

Helm Chart not deployable on k8 1.25 #2219

Open
VinithKrishnan opened this issue Dec 8, 2023 · 6 comments
Open

Helm Chart not deployable on k8 1.25 #2219

VinithKrishnan opened this issue Dec 8, 2023 · 6 comments
Labels
status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior

Comments

@VinithKrishnan
Copy link

VinithKrishnan commented Dec 8, 2023

Expected Behavior

Amundsen k8 helm chart should be deployable without any errors on k8 1.25 (EKS)

Current Behavior

Helm install command throws error:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: resource mapping not found for name: "amundsen-elasticsearch-master-pdb" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1" ensure CRDs are installed first

Possible Solution

I upgraded Elastic Search Chart to the latest version. The above error disappears but the elastic search pods fail to spin up.

Steps to Reproduce

Run helm install my-amundsen ./templates/helm --values impl/helm/dev/values.yaml on k8 1.25 cluster.

Screenshots (if appropriate)

Your Environment

  • Amunsen version used: 2.1.2
  • Data warehouse stores:
  • Deployment (k8s or native): k8 1.25 EKS
  • Link to your fork or repository:
@VinithKrishnan VinithKrishnan added status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior labels Dec 8, 2023
Copy link

boring-cyborg bot commented Dec 8, 2023

Thanks for opening your first issue here!

@celagus
Copy link

celagus commented Jan 15, 2024

I faced the same issue and solved it downloading and extracting elasticsearch chart from here and then modifying poddisruptionbudget.yaml file from elasticsearch chart to change apiVersion from "policy/v1beta1" to "policy/v1". Now modify Amundsen chart Chart.yaml file to retrieve elasticsearch chart from local dir:

[...]
dependencies:
[...]
  - name: elasticsearch
    version: 7.13.4
    repository:  file://../elasticsearch
    condition: elasticsearch.enabled

It should resolve your issue

@gregingenii
Copy link

Another approach that solved my issue was to upgrade the elasticsearch version to 7.17.3, since that's the latest Helm chart version for 7.x here: https://github.com/elastic/helm-charts?tab=readme-ov-file#stack-versions. Don't forget to run helm dependency update

In that version the API version used is contextual: https://github.com/elastic/helm-charts/blob/7.17/elasticsearch/templates/poddisruptionbudget.yaml

It'd be an easy PR to get this version bump in.

@andreyolv
Copy link

this helm chart and project is dead

@parkkk123
Copy link

this helm chart and project is dead

I think so T^T

The elastic version that contains in helm is out of date (It's version since Jul 20, 2021)

@parkkk123
Copy link

parkkk123 commented May 2, 2024

poddisruptionbudget

It isn't work for me
My error shows that "Error: INSTALLATION FAILED: ConfigMap in version "v1" cannot be handled as a ConfigMap: json: cannot unmarshal bool into Go struct field ConfigMap.data of type string"

idk how to fix and deploy it anymore :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

5 participants