# Local K8S Cluster

This document explains basic about ./local-k8s-cluster.

This module is the main implementation of setup a k8s cluster in docker containers with kind (opens new window).

# Prerequisite

# How to Use

Deploy a local k8s cluster using kind:

make deploy
1

Undeploy:

make undeploy
1

# Advance

# How to change the k8s cluster version

To specify the version for local k8s cluster, please modify the part below in ./local-k8s-cluster/.env

KIND_NODE_IMAGE=kindest/node:v1.19.7
1

Available version can be checked here from official kind docker hub (opens new window)

# How to change the number of nodes of local k8s cluster

Modify the part below in ./local-k8s-cluster/manifest/kind-config.yaml.

Change the number of role: control-plane & role: worker.

# More customization of local cluster

Please check kind official document (opens new window).