This repository contains my configuration file for my local KinD cluster and additional helper scripts for adding various features to the cluster.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Zeevi a746a5f93b
renamed cluster to kind-lab
4 weeks ago
efk@ff56cf80ce added efk stack via 3 helm charts 4 weeks ago
README.md updated readme 1 month ago
add-all.sh added metrics-server and reordered add-all 1 month ago
add-argocd.sh changed argocd to use helm 1 month ago
add-efk.sh added output of local loadbalancer ip for kibana 4 weeks ago
add-ingress.sh changed ingress to use helm 1 month ago
add-metallb.sh moved namespace argument to beginning of commands 1 month ago
add-metrics.sh added metrics-server and reordered add-all 1 month ago
add-monitoring.sh renamed monitoring release 4 weeks ago
kind-lab.yaml renamed cluster to kind-lab 4 weeks ago
storageclass-with-retention.yaml added storageclass that retains its persistent volumes 1 month ago

README.md

Local Kubernetes in Docker (kind) cluster setup

This repository contains the configuration file for my local kind cluster and additional helper scripts for adding various features to the cluster.

One can get kind and learn more about it at its official website.

Usage

First, create the cluster:

kind create cluster --config kind-local.yaml

Then one may either add all of the features below with:

./add-all.sh

...or add specific features with their respectful commands/scripts:

  • Add metrics server (to enable kubectl top ...):

    ./add-metrics.sh
    
  • Add support for LoadBalancer type services:

    ./add-metallb.sh
    

    Note: This requires ports 80 and 443 to be available on your host.

  • Add Nginx Ingress controller:

    ./add-ingress.sh
    
  • Add an additional StorageClass that retains volumes:

    kubectl apply -f storageclass-with-retention.yaml
    
  • Add Argo CD:

    ./add-argocd.sh
    

    Note: After Argo CD setup, its admin password will be printed!