Welcome to the Tanka tutorial!
The following sections will explain how to deploy an example stack,
Prometheus), to Kubernetes. We will also deal with parameters, differences between
prod and how to stop worrying and love libraries.
To do so, we have the following steps:
- Deploying without Tanka first: Using good old
kubectlto understand what Tanka will do for us.
- Using Jsonnet: Doing the same thing once again, but this time with Tanka and Jsonnet.
- Parameterizing: Using Variables to avoid data duplication.
- Abstraction: Splitting components into individual parts.
- Environments: Dealing with differences between
k.libsonnet: Avoid having to remember API resources.
Completing this gives a solid knowledge of Tanka's fundamentals. Let's get started!
- The final outcome of this tutorial can be seen here: https://github.com/grafana/tanka/examples/prom-grafana