Bonjour,
J'essaye d'implémenter un système de monitoring pour mon cluster Kubernetes en suivant la documentation officielle :
https://docs.ovh.com/gb/en/kubernetes/monitoring-apps-prometheus-grafana/
Mais cela ne marche toujours pas, fort probable vu que mon cluster est développé sur du Helm2 alors que la doc est sur du Helm3.
Avez-vous des alternatives pour installer ce type de monitoring ( ou autre ) sur les cluster Kubernetes - helm2 ?
Super merci
Erreurs rencontrées:
kubectl create ns prometheus
namespace/prometheus created
helm install prometheus-community/kube-prometheus-stack --namespace prometheus --generate-name --values /tmp/kube-prometheus-stack.values --set prometheus.service.type=LoadBalancer --set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false --set grafana.service.type=LoadBalancer
Error: failed to download "prometheus-community/kube-prometheus-stack" (hint: running `helm repo update` may help)
sudo helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
"prometheus-community" has been added to your repositories
sudo helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "nginx-stable" chart repository
...Successfully got an update from the "haproxytech" chart repository
...Successfully got an update from the "grafana" chart repository
...Successfully got an update from the "prometheus-community" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈
helm install prometheus-community/kube-prometheus-stack --namespace prometheus --generate-name --values /tmp/kube-prometheus-stack.values --set prometheus.service.type=LoadBalancer --set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false --set grafana.service.type=LoadBalancer
Error: failed to download "prometheus-community/kube-prometheus-stack" (hint: running `helm repo update` may help)
sudo helm install prometheus-community/kube-prometheus-stack --namespace prometheus --generate-name --values /tmp/kube-prometheus-stack.values --set prometheus.service.type=LoadBalancer --set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues=false --set grafana.service.type=LoadBalancer
Error: Kubernetes cluster unreachable
helm version
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}
Grafana/Prometheus monitor
Sujets apparentés
- Kubectl - TLS handshake timeout
5638
18.03.2019 09:07
- Docker registry private
5393
13.10.2016 07:26
- [Auto TLS sur k8s] ClusterIssuer cert-manager pour OVH
4460
18.11.2017 22:45
- Ingress on ports 80/443 for cluster
4209
05.12.2018 14:44
- Kubernetes Metrics
3187
18.11.2019 10:49
- A-t-on une idée des futurs tarifs?
3041
03.04.2019 19:18
- OVH Managed Kubernetes security patches
2917
06.12.2018 10:23
- Kubernetes ingress port 80 & 443
2784
31.12.2018 11:48
- Node Autoscaling / K8s dans une autre région: est-ce que K8s vaut le coup ?
2607
23.01.2020 16:40
- Datastore commun ?
2598
12.10.2016 12:15