Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tanka.md with steps for using k8s-alpha lib #2528

Merged
merged 3 commits into from
Aug 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
owen-d marked this conversation as resolved.
Show resolved Hide resolved
replace the contents of `environments/loki/main.jsonnet` with:

Expand Down