Skip to content

Commit cf63dc3

Browse files
committed
(fix) : kubeaid-config in example commands
1 parent 85f13be commit cf63dc3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build/kube-prometheus/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ Setup the jsonnet file as per the requirement
4848
Run this in the root of this repo, with the k8s config repo cloned next to it
4949

5050
```sh
51-
./build/kube-prometheus/build.sh ../kubernetes-config-enableit/k8s/kam.obmondo.com
51+
./build/kube-prometheus/build.sh ../<your-kubeaid-config>/k8s/<cluster-name>
5252
```
5353

5454
Example:
5555

5656
```log
57-
$ ./build/kube-prometheus/build.sh ../kubernetes-config-enableit/k8s/kam.obmondo.com
57+
$ ./build/kube-prometheus/build.sh ../<your-kubeaid-config>/k8s/<cluster-name>
5858
INFO: 'build/kube-prometheus/libraries/main/vendor' doesn't exist; executing jsonnet-bundler
5959
GET https://github.com/prometheus-operator/kube-prometheus/archive/64b19b69d5a6d82af8bbfb3a67538b0feca31042.tar.gz 200
6060
GET https://github.com/prometheus/alertmanager/archive/a6d10bd5bc3f651e0ca04d47b981ed66e85a09a6.tar.gz 200
@@ -72,7 +72,7 @@ GET https://github.com/prometheus/node_exporter/archive/9aae303a46c3153b75e4d32b
7272
GET https://github.com/kubernetes-monitoring/kubernetes-mixin/archive/a2196d1b3493c15117550df2fd35dbdf54e4fa0e.tar.gz 200
7373
GET https://github.com/grafana/grafonnet-lib/archive/6db00c292d3a1c71661fc875f90e0ec7caa538c2.tar.gz 200
7474
GET https://github.com/grafana/jsonnet-libs/archive/98c3060877aa178f6bdfc6ac618fbe0043fc3de7.tar.gz 200
75-
INFO: compiling jsonnet files into '../kubernetes-config-enableit/k8s/kam.obmondo.com/kube-prometheus'
75+
INFO: compiling jsonnet files into '../<your-kubeaid-config>/k8s/<cluster-name>/kube-prometheus'
7676
```
7777

7878
## Upgrading
@@ -85,10 +85,10 @@ For upgrading vendor directories of existing versions, `update.sh` iterates over
8585

8686
For upgrading to a new version of kube-prometheus, for example to `v0.12.0` - change the
8787
`kube_prometheus_version` variable in the jsonnet vars file of your kubernetes cluster config
88-
(example: `k8s/kbm.obmondo.com/kbm.obmondo.com-vars.jsonnet`) and run the build script again.
88+
(example: `k8s/<cluster-name>/<cluster-name>-vars.jsonnet`) and run the build script again.
8989

9090
```sh
91-
./build/kube-prometheus/build.sh ../kubernetes-config-enableit/k8s/kbm.obmondo.com
91+
./build/kube-prometheus/build.sh ../<your-kubeaid-config>/k8s/<cluster-name>
9292
```
9393

9494
This script looks for the `kubernetes-prometheus` version/release tag in your kubernetes cluster config, and checks if the same version/release dir exists in KubeAid repo. If found, it builds manifests for your kubernetes cluster using those files.
@@ -101,7 +101,7 @@ Note that you have to clone your kubeaid-config git repository seperately.
101101

102102
## Cleaning up
103103

104-
During the [Upgrading process](#upgrading) if you encounter error related to broken version dependencies, or the version/release vendor dirs are messed up, you can just delete the entire version dir and follow the [Upgrading process](#upgrading) again. This freshly fetches the version and its dependencies, and builds manifests in your kubernetes-config repository.
104+
During the [Upgrading process](#upgrading) if you encounter error related to broken version dependencies, or the version/release vendor dirs are messed up, you can just delete the entire version dir and follow the [Upgrading process](#upgrading) again. This freshly fetches the version and its dependencies, and builds manifests in your kubeaid-config repository.
105105

106106
```sh
107107
rm -rf ./build/kube-prometheus/libraries/v0.12.0/

0 commit comments

Comments
 (0)