X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vnfs%2FDAaaS%2Fdeploy%2Fday2_configs%2Fprometheus%2FREADME.txt;h=6f308299a9e22770d894871070a8085230dd046b;hb=e8f46636aa34ed316a04e6619780b0054bdca646;hp=99b63facff3898c85a0e688939687455d9f7fb18;hpb=2da240553b8a56e2913be4e4c2ef8de9a8dcff31;p=demo.git diff --git a/vnfs/DAaaS/deploy/day2_configs/prometheus/README.txt b/vnfs/DAaaS/deploy/day2_configs/prometheus/README.txt index 99b63fac..6f308299 100644 --- a/vnfs/DAaaS/deploy/day2_configs/prometheus/README.txt +++ b/vnfs/DAaaS/deploy/day2_configs/prometheus/README.txt @@ -1,7 +1,16 @@ -This day2 config adds a remote_write to existing config +1. Day2 config to add a remote_write to existing config Assuming initial/day0 config in namespace "edge1" and helm release name as "cp" (helm install -n cp collection/ --namespace=edge1) Run below command to apply day2 config kubectl patch --namespace=edge1 prometheus cp-prometheus-prometheus -p "$(cat add_remote_write.yaml)" --type=merge + +2. Day2 config to remove remote_read and remote_write from existing config + +Assuming initial/day0 config in namespace "edge1" and helm release name as "cp" (helm install -n cp collection/ --namespace=edge1) + +Run below commands to apply day2 config + +To remove remote_read -----> kubectl patch -n edge1 prometheus cp-prometheus-prometheus --type=json -p="$(cat remove_remote_read.json)" +To remove remote_write ----> kubectl patch -n edge1 prometheus cp-prometheus-prometheus --type=json -p="$(cat remove_remote_write.json)"