Skip to content
Snippets Groups Projects
Commit 8e79ff26 authored by Jason Murray's avatar Jason Murray Committed by GitHub
Browse files

Fixed paths for patching manifests

parent 19dc4088
No related branches found
No related tags found
No related merge requests found
...@@ -20,19 +20,17 @@ Or, you can patch and re-apply your existing manifests with: ...@@ -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
``` ```
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