Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 518 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 518 Bytes

Cluster Setup

Setup Kind-Cluster with Kind Config Manifest

cd IaC/kind
kind create cluster --name=my-cluster --config=kind-config-my-cluster.yaml
kubectl apply -f namespace.yaml

Setup Kind-Cluster via Terraform

cd IaC/terraform
export TF_LOG=DEBUG
terraform init
terraform plan -var-file=dev.tfvars
terraform apply -var-file=dev.tfvars

Setup Default Cluster and Namespace

kubectl config use-context kind-my-cluster
kubectl config set-context --current --namespace=shop