amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.

Home Page:https://www.amundsen.io/amundsen/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helm Chart not deployable on k8 1.25

VinithKrishnan opened this issue · comments

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:

Thanks for opening your first issue here!

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

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.

this helm chart and project is dead

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)

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 :(