Error: INSTALLATION FAILED: found in Chart.yaml, but missing in charts/ directory: kube-state-metrics
Quote from moshe on 23/01/2022, 4:24 pmProblem
User try to install helm chart and gets te following error
Error: INSTALLATION FAILED: found in Chart.yaml, but missing in charts/ directory: kube-state-metrics
Solution
move the requirements file
mv requirements.yaml requirements.yaml.orig
and run helm install command again
or you can install kube-state metrics by running the following commands
git clone https://github.com/devopscube/kube-state-metrics-configs.git
kubectl apply -f kube-state-metrics-configs/Check that it installs correctly
kubectl get deployments kube-state-metrics -n kube-system
Problem
User try to install helm chart and gets te following error
Error: INSTALLATION FAILED: found in Chart.yaml, but missing in charts/ directory: kube-state-metrics
Solution
move the requirements file
mv requirements.yaml requirements.yaml.orig
and run helm install command again
or you can install kube-state metrics by running the following commands
git clone https://github.com/devopscube/kube-state-metrics-configs.git
kubectl apply -f kube-state-metrics-configs/
Check that it installs correctly
kubectl get deployments kube-state-metrics -n kube-system