From 8e79ff2663ab6935470a819b130967fca8a63f83 Mon Sep 17 00:00:00 2001 From: Jason Murray <jason@chaosaffe.io> Date: Thu, 31 Jan 2019 20:17:23 +0100 Subject: [PATCH] Fixed paths for patching manifests --- docs/GKE-cadvisor-support.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/GKE-cadvisor-support.md b/docs/GKE-cadvisor-support.md index f1a88825..0d763ac0 100644 --- a/docs/GKE-cadvisor-support.md +++ b/docs/GKE-cadvisor-support.md @@ -20,19 +20,17 @@ Or, you can patch and re-apply your existing manifests with: On linux: ``` -sed -i -e 's/https/http/g' \ -contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml +sed -i -e 's/https/http/g' manifests/prometheus-serviceMonitorKubelet.yaml ``` On MacOs: ``` -sed -i '' -e 's/https/http/g' \ -contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml +sed -i '' -e 's/https/http/g' manifests/prometheus-serviceMonitorKubelet.yaml ``` After you have modified the yaml file please run ``` -kubectl apply -f contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml +kubectl apply -f manifests/prometheus-serviceMonitorKubelet.yaml ``` -- GitLab