Skip to content

evsor/k3d-dev-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k3d-dev-cluster

A reproducible local Kubernetes development environment using k3d, k3s, Cilium and Gateway API support.

Features

  • Single or multi-node k3d cluster (1 server, 2 agents by default)
  • Cilium CNI with kube-proxy replacement and custom pod/service CIDRs
  • Gateway API CRDs auto-installed
  • ArgoCD deployment to bootstrap additional cluster components
  • Customizable via YAML values files

Prerequisites

  • Docker
  • k3d
  • kubectl
  • helm
  • cilium CLI

Quick Start

./cluster-bootstrap.sh

This will:

  • Create the k3d cluster
  • Install Gateway API CRDs
  • Install Cilium
  • (Optionally) run Cilium connectivity tests
  • Install ArgoCD
  • Configure the host routing table for the Load Balancer IP

Cleanup

To remove the resources created by the bootstrap script:

./cluster-cleanup.sh

This will:

  • Remove the route to the Load Balancer IP
  • Delete the k3d cluster

Configuration

  • Cluster config: values/k3d.yaml
  • Cilium config: values/cilium.yaml
  • ArgoCD config: values/argocd.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages