--- title: Kubernetes tags: - Developer - Technical documentation - Code - Programming sidebar_position: 1 --- This guide provides step-by-step instructions for setting up a Kubernetes cluster using kind, configuring multiple nodes, and installing the Metrics Server. ## Prerequisites Ensure you have the following installed: - [Docker](https://docs.docker.com/get-started/get-docker/) (required for running `kind` clusters). - [Kind](https://kind.sigs.k8s.io/docs/user/quick-start/) (Kubernetes in Docker). - [Kubectl](https://kubernetes.io/docs/tasks/tools/) (Kubernetes command-line tool). Additionally, ensure that Kubernetes tools are enabled in your environment by setting the following variable in your `.env` file: ```bash # Enable Kubernetes tool ENABLE_KUBERNETES=true ``` ### 1. Creating a Kubernetes Cluster with Multiple Nodes We will create a Kubernetes cluster using `kind` with one control plane node and two worker nodes. #### Define the Cluster Configuration Create a configuration file named `kind-config.yaml` with the following content: ```bash cat > kind-config.yaml <