Deckhouse Kubernetes Platform in kind
kind is a tool for running local Kubernetes clusters using container “nodes” and was primarily designed for testing Kubernetes itself, but may be used for local development or CI.
Installing Deckhouse on kind, will allow you to get a Kubernetes cluster with Deckhouse installed in less than 15 minutes. It will allow you to get acquainted with Deckhouse main features quickly.
Deckhouse will be installed in a minimal configuration, with Grafana based monitoring enabled. Some features, such as node management and control plane management will not work. To simplify, the sslip.io service is used for working with DNS.
Some providers are blocking work sslip.io and similar services. If you encounter such a problem, put the necessary domain names in the hosts
file locally, or use a real domain and fix DNS names template.
Installing
A Kubernetes cluster will be deployed and Deckhouse will be installed into a cluster using the Shell script:
- Run the following command for installing Deckhouse Community Edition:
bash -c "$(curl -Ls https://raw.githubusercontent.com/deckhouse/deckhouse/main/tools/kind-d8.sh)"
bash -c "$(curl -Ls https://raw.githubusercontent.com/deckhouse/deckhouse/main/tools/kind-d8.sh)" - Or run the following command for installing Deckhouse Enterprise Edition by providing a license key:
echo <LICENSE_KEY> | docker login -u license-token --password-stdin registry.deckhouse.io bash -c "$(curl -Ls https://raw.githubusercontent.com/deckhouse/deckhouse/main/tools/kind-d8.sh)" -- --key <LICENSE_KEY>
echo <LICENSE_KEY> | docker login -u license-token --password-stdin registry.deckhouse.io bash -c "$(curl -Ls https://raw.githubusercontent.com/deckhouse/deckhouse/main/tools/kind-d8.sh)" -- --key <LICENSE_KEY>
After installation is complete, you will get the admin
user password for accessing Grafana. Grafana will be available at the URL http://grafana.127.0.0.1.sslip.io.
The user admin
password for Grafana can also be found by running the command:
kubectl -n d8-system exec svc/deckhouse-leader -c deckhouse -- sh -c "deckhouse-controller module values prometheus -o json | jq -r '.internal.auth.password'"