Skip to content
Snippets Groups Projects
Commit e497e48e authored by Riccardo Setti's avatar Riccardo Setti Committed by GitHub
Browse files

Add how to enable cAdvisor support on GKE

parent f0a86796
No related branches found
No related tags found
No related merge requests found
# Kubelet / cAdvisor special configuration updates for GKE
In order to allow Prometheus to access the endpoints provided by the kubelet/cAdvisor on GKE we have to downgrade the scheme to HTTP (from HTTPS).
On linux:
```
sed -i -e 's/https/http/g' \
contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
```
On MacOs:
```
sed -i '' -e 's/https/http/g' \
contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
```
After you have modified the yaml file please run
```
kubectl apply -f contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment