To install Tanka, it is usually sufficient to install the
tk binary. It
contains the Jsonnet compiler and everything else required, apart from some
kubectl: Tanka uses
kubectlto communicate to your cluster. This means
kubectlmust be available somewhere on your
$PATH. If you ever have worked with Kubernetes before, this should be the case anyways.
diff: To compute differences, standard UNIX
jb: #Jsonnet-bundler, the Jsonnet package manager
We provide pre-compiled binaries for Tanka at https://github.com/grafana/tanka/releases.
Just grab the latest version from there, download it and put somewhere in your
$PATH (e.g. to
In case the above won't work for you, you can try building the most recent
$ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
If that won't work either, compile by hand:
$ git clone https://github.com/grafana/tanka $ cd tanka $ make install
Note: You need a working
go toolchain for this.
Apart from the
tk binary, you will most probably also want to install
Jsonnet-bundler, the Jsonnet package manager:
$ go get -u github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb