redpanda-data / kminion

KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
MIT License
610 stars 122 forks source link

KMinion helm chart is not yet compatible with Kubernetes 1.22 or above #168

Closed panyuenlau closed 1 year ago

panyuenlau commented 1 year ago

The KMinion helm chart is not compatible with Kubernetes >= 1.22 because the networking.k8s.io/v1beta1 API version of Ingress is no longer served, and the helm chart is still using that in the ingress.yaml. Example error while installing KMinion on K8s 1.23:

helm install kminion-test charts/kminion --set ingress.enabled=true
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"

Tried some quick fix simply by updating the API version from networking.k8s.io/v1beta1 to networking.k8s.io/v1 but it didn't work because the spec of the Ingress resource has been changed

Reference: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122