Prepare a Local Kubernetes Environment
The following tutorial uses kind to prepare/set up a local Kubernetes environment for a local ESS standalone deployment on Linux.
Start
Dockerif it is not already running. The below steps have been tested with Docker CPU setting of6.Open a
Terminalwindow.Optional. Create a directory for your
kindconfiguration and go to that directory.Create a
kind-config.yamlfile:cat < kind-config.yaml kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 name: my-local-kind nodes: - role: control-plane kubeadmConfigPatches: - | kind: InitConfiguration nodeRegistration: kubeletExtraArgs: node-labels: "ingress-ready=true" extraPortMappings: - containerPort: 80 hostPort: 80 protocol: TCP - containerPort: 443 hostPort: 443 protocol: TCP EOFThis example configuration specifies the cluster name of
my-local-kind. You can specify a different name for the cluster.Create a cluster, specifying your
kind-config.yamlfile:kind create cluster --config=kind-config.yaml
7. Enable Certificate management controller :
8. Wait for successful setup and rollout of the cert manager and ingress controller.
Upon successful completion, this local Kubernetes environment can be used for a standalone ESS deployment . See Installation for details.
For more information on kind, see https://kind.sigs.k8s.io/ .
Last updated