I have install prometheus and grafana using helm chart everything is working fine except below one is showing down in prometheus → target page
Helm repo list
stable https://charts.helm.sh/stable
prometheus-community https://prometheus-community.github.io/helm-charts
kube-state-metrics https://kubernetes.github.io/kube-state-metrics
grafana https://grafana.github.io/helm-charts
Error in
I google and search found solution but dont know to do it
SOLUTIONS
kubeEtcd:
serviceMonitor:
scheme: https
insecureSkipVerify: true
caFile: /etc/prometheus/secrets/etcd-client/ca.crt
certFile: /etc/prometheus/secrets/etcd-client/healthcheck-client.crt
keyFile: /etc/prometheus/secrets/etcd-client/healthcheck-client.key
prometheus:
prometheusSpec:
secrets:
- etcd-client
The above solution i dont know where to add or which pod or service i need to and add if add where to add in file
RUNNING PODS/SVC
Pod/prometheus-grafana-68f8cc-1234 3/3 Running 0 7h57m
pod/prometheus-kube-prometheus-operator-5bb6-hrd42 1/1 Running 0 7h57m
pod/prometheus-kube-state-metrics-6bf8-th6lx 1/1 Running 0 7h57m
pod/prometheus-prometheus-kube-prometheus-prometheus-0 2/2 Running 0 7h57m
pod/prometheus-prometheus-node-exporter-8tmbz
pod/alertmanager-prometheus-kube-prometheus-alertmanager-0 2/2 Running 1 (7h57m ago) 7h57
service/prometheus-grafana NodePort 1234 <none> 1234:1234/TCP 8h
service/prometheus-kube-prometheus-alertmanager NodePort 1234 <none> 1234:1234/TCP 8h
service/prometheus-kube-prometheus-operator NodePort 1234 <none> 1234:1234/TCP 8h
service/prometheus-kube-prometheus-prometheus NodePort 1234 <none> 1234:1234/TCP 8h
service/prometheus-kube-state-metrics NodePort 1234 <none> 1234:1234/TCP 8h
service/prometheus-operated ClusterIP None <none> 1234/TCP 8h
service/prometheus-prometheus-node-exporter
kubectl get po -n kube-system
pod/etcd-cluster 1/1 Running 0 14d
pod/kube-apiserver-cluster 1/1 Running 5 (60m ago) 14d
pod/kube-controller-manager-cluster 1/1 Running 3 (62m ago) 3h2m
pod/kube-proxy-lt 1/1 Running 0 3h14m
pod/kube-scheduler-cluster 1/1 Running 2 (62m ago) 155m
pod/kube-state-metrics-77f 1/1 Running 0 11d
service/kube-state-metrics ClusterIP None <none> 1234/TCP,1234/TCP 11d
service/prometheus-kube-prometheus-kube-controller-manager ClusterIP None <none> 1234/TCP 8h
service/prometheus-kube-prometheus-kube-etcd ClusterIP None <none> 1234/TCP 8h
service/prometheus-kube-prometheus-kube-proxy ClusterIP None <none> 1234/TCP 8h
service/prometheus-kube-prometheus-kube-scheduler ClusterIP None <none> 1234/TCP 8h
same is running in default and in kube-system and i dont have value.yaml file and dont have yaml of every seperated file like prometheus.yaml, grafana.yaml alertmanager.yaml …etc…,