Skip to content

Commit

Permalink
Update tanka.md with steps for using k8s-alpha lib (#2528)
Browse files Browse the repository at this point in the history
* Update tanka.md

* Update docs/sources/installation/tanka.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Update docs/sources/installation/tanka.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
  • Loading branch information
owen-d and oddlittlebird authored Aug 20, 2020
1 parent fdf9166 commit 5fcd399
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/sources/installation/tanka.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,20 @@ jb install github.com/grafana/loki/production/ksonnet/loki
jb install github.com/grafana/loki/production/ksonnet/promtail
```

Be sure to replace the username, password and the relevant `htpasswd` contents.
> **Note:** As of 2020-08-13, we use some features that are not yet generally available. This step will be unnecessary in future Tanka releases. For now, install this library, which we'll use as an override:
```bash
jb install github.com/jsonnet-libs/k8s-alpha/1.14
```

Next, override the `lib/k.libsonnet` with the following

```jsonnet
(import 'github.com/jsonnet-libs/k8s-alpha/1.14/main.libsonnet')
+ (import 'github.com/jsonnet-libs/k8s-alpha/1.14/extensions/kausal-shim.libsonnet')
```

Be sure to replace the username, password, and the relevant `htpasswd` contents.
Making sure to set the value for username, password, and `htpasswd` properly,
replace the contents of `environments/loki/main.jsonnet` with:

Expand Down

0 comments on commit 5fcd399

Please sign in to comment.