|
| 1 | +--- |
| 2 | +sidebar_position: 2 |
| 3 | +title: ☸️ KIND - Windows |
| 4 | +slug: kubernetes-goat-on-kind-windows |
| 5 | +--- |
| 6 | + |
| 7 | +# ☸️ KiND: Windows - Kubernetes IN Docker: Windows |
| 8 | + |
| 9 | +[kind](https://sigs.k8s.io/kind) is a tool for running local Kubernetes clusters using Docker container "nodes". kind was primarily designed for testing Kubernetes itself, but may be used for local development or CI. |
| 10 | + |
| 11 | +### Prerequisites |
| 12 | + |
| 13 | +* Install Docker Desktop on Windows, [refer to the docs for installation](https://docs.docker.com/desktop/setup/install/windows-install/) |
| 14 | +> ⚠️ Because of license requirements, ensure you can install Docker Desktop on Windows. |
| 15 | +
|
| 16 | +* You have `kind` installed and setup locally in your system, [refer to the docs for installation](https://kind.sigs.k8s.io/) |
| 17 | +* Ensure you have cluster-admin access to the Kubernetes cluster. |
| 18 | + * Also you have installed the `kubectl` and in the path, [refer to the docs for installation](https://kubernetes.io/docs/tasks/tools/install-kubectl/) |
| 19 | + * Verify by running `kubectl version` |
| 20 | +* Ensure you have the `helm` package manager installed and the path, [refer to the docs for installation](https://helm.sh/docs/intro/install) |
| 21 | + * Verify by running `helm version` |
| 22 | + |
| 23 | +### Setup |
| 24 | + |
| 25 | +* First, clone the Kubernetes Goat repository locally by running the following command |
| 26 | + |
| 27 | +```bash |
| 28 | +git clone https://github.com/madhuakula/kubernetes-goat.git |
| 29 | +``` |
| 30 | + |
| 31 | +* Navigate to the folder for setup and installation of the Kubernetes Goat using KiND |
| 32 | + |
| 33 | +```bash |
| 34 | +cd kubernetes-goat/platforms/kind-setup |
| 35 | +``` |
| 36 | + |
| 37 | +* Run the following command to set up the KIND cluster |
| 38 | + |
| 39 | +```bash |
| 40 | +setup-kind-cluster-and-goat.ps1 |
| 41 | +``` |
| 42 | + |
| 43 | +* Now we have the Kubernetes Goat setup up and running, refer to [Getting Started for next steps](../getting-started.md) |
0 commit comments