Merge pull request #2363 from chaosaffe/patch-1

Fixed paths for patching manifests
This commit is contained in:
Frederic Branczyk
2019-02-05 11:53:26 +01:00
committed by GitHub

View File

@@ -20,19 +20,17 @@ Or, you can patch and re-apply your existing manifests with:
On linux: On linux:
``` ```
sed -i -e 's/https/http/g' \ sed -i -e 's/https/http/g' manifests/prometheus-serviceMonitorKubelet.yaml
contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
``` ```
On MacOs: On MacOs:
``` ```
sed -i '' -e 's/https/http/g' \ sed -i '' -e 's/https/http/g' manifests/prometheus-serviceMonitorKubelet.yaml
contrib/kube-prometheus/manifests/prometheus/prometheus-k8s-service-monitor-kubelet.yaml
``` ```
After you have modified the yaml file please run 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
``` ```