Example for using Grafana Tanka for kubernetes deployments that sets up the following resources in the respective Tanka environments.
- ingress-nginx
- cert-manager
- Grafana
- InfluxDB
- Prometheus
- podinfo
ln -s $PWD/pre-commit.sh .git/hooks/pre-commitIf you're using nix flakes:
nix developOtherwise, install the utilities listed in flake.nix manually.
First, you need to edit the spec.json files to your appropriate API server. Then, you should be able to run the following
tk apply environments/infrastructure
# The infrastructure environments needs to be deployed twice on the first attempt
# since it installs and references cert-manager CRDs. It's probably simple enough
# to fix this with an additional environment
tk apply environments/infrastructure
tk apply environments/monitoring
tk apply environments/applicationNote that the infrastructure environment should be applied first since the default environment depends on it.