diff --git a/README.md b/README.md index d6bdbe1..abf041f 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ - - - # k8s-dev-cluster Deploy a local kubernetes cluster for development purpose. This repository contains all the necessary tools to create a local kubernetes cluster using `Kind` and `Helmfile` + + + ## Prerequisites - [Docker](https://docs.docker.com/get-docker/) diff --git a/create_cluster.sh b/create_cluster.sh index 9ea1ccf..0c32a8a 100755 --- a/create_cluster.sh +++ b/create_cluster.sh @@ -3,7 +3,6 @@ # Set the desired configuration KIND_VERSION="v0.20.0" CLUSTER_NAME="local-k8s" -KUBERNETES_VERSION="v1.22.0" NODES=2 # Function to delete an existing Kind cluster @@ -76,12 +75,6 @@ nodes: EOF } -# Function to set kubeconfig context -set_kubeconfig_context() { - local cluster_name=$1 - export KUBECONFIG="$(kind get kubeconfig-path --name="$cluster_name")" -} - # Function to verify cluster status verify_cluster_status() { echo "Verifying cluster status..." @@ -207,9 +200,6 @@ prepare_kind_cluster() { # Create the Kind cluster create_cluster "$cluster_name" "$nodes" - # Set kubeconfig context - ##set_kubeconfig_context "$cluster_name" - # Verify cluster status verify_cluster_status