tools/dev/k3d/README.md
In order to use the make targets in this directory, make sure you have the following tools installed:
Note: in case docker is unable to resolve the local k3d registry hostname, add the following entry to the /etc/hosts file:
127.0.0.1 k3d-grafana
Each environment has it's own make target. To bring up loki-distributed, for example, run:
make loki-distributed
The down make target will tear down all environments.
make down
The helm-cluster environment is designed for spinning up a cluster with just Grafana and Prometheus Operator that can be helm installed into. First spin up the cluster, then run the make targets for installing the desired configuration.
make helm-clustermake helm-install-enterprise-logsThe installation step executes a set of jobs required for the enterprise-logs deployment:
tokengen job generates an admin-api token, stores it in the object storage and creates a Kubernetes secret.provisioner job depends on the tokengen job to create the Kubernetes secret and on the Admin API to be in a healthy state.
The tokengen Kubernetes secret will be used to create the input admin resources via the Admin API.
Afterwards, a new Kubernetes secret for each newly generated token is created.provisioner.
Therefore, once the provisioner job is completed, these components will become online.