-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Unable to install with tanka by following instructions #1301
Comments
Have you followed all the steps from https://github.com/grafana/loki/blob/master/production/ksonnet/README.md#prerequisites There is a step to get |
@sandlis Yes! There are steps I did:
|
can you please try changing |
(Tanka maintainer here) Unfortunately, the the above won't work at the moment. jsonnet-bundler removed support for installing single files (which is by design and won't change), so you have no chance to get Instead, it will prefix it with the package name (e.g. But the other libraries you are importing here won't allow this scheme, as they have The only fix at the moment before we work this out is to link those files in place manually: # install the package
$ jb install github.com/ksonnet/ksonnet-lib/ksonnet.beta.3
# link them to the old name
$ ln -s vendor/ksonnet.beta.3/k.libsonnet lib/k.libsonnet
$ ln -s vendor/ksonnet.beta.3/k8s.libsonnet lib/k8s.libsonnet Make sure to link into |
It works |
That is NOT a solution you should even consider to use. On the next run the bundles will revert that change and you are back to zero. Instead, create a file called import "ksonnet.beta.3/k.libsonnet" |
You are right @sh0rez . This is simple. |
Cool! The docs on https://tanka.dev are in the process of being updated, this will be included as well. I will add a link here then as well, so that hopefully access to this info becomes better! |
@sh0rez Why is this closed? This still seems to be an issue when following the instructions at https://github.com/grafana/loki/tree/master/production/ksonnet |
You are right, the docs still include invalid information. I'll add a PR to resolve this |
Hi I'am doing all required steps from Installing Loki with Tanka guide and get:
Maybe some steps missing in the guide?
The text was updated successfully, but these errors were encountered: