Skip to content

Commit f883d05

Browse files
authored
Merge pull request #267 from robx/master
prometheus-ksonnet README fixes
2 parents 881db22 + a5d9d63 commit f883d05

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

prometheus-ksonnet/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
A set of extensible configs for running Prometheus on Kubernetes.
44

55
Usage:
6-
- Make sure you have [Tanka](https://tanka.dev/install) installed:
6+
- Make sure you have [Tanka](https://tanka.dev/install) and
7+
[jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler) installed:
78

89
```bash
910
$ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
11+
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
1012
```
1113

1214
- In your config repo, init Tanka and point it at your Kubernetes cluster:
@@ -15,14 +17,13 @@ $ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
1517
$ tk init
1618

1719
# point at cluster
18-
$ export CONTEXT=$(kubectl current-context)
20+
$ export CONTEXT=$(kubectl config current-context)
1921
$ tk env set environments/default --server-from-context=$CONTEXT
2022
```
2123

22-
- Vendor this package using [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler)
24+
- Vendor this package using jsonnet-bundler:
2325

2426
```bash
25-
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
2627
$ jb install github.com/grafana/jsonnet-libs/prometheus-ksonnet
2728
```
2829

0 commit comments

Comments
 (0)