Skip to content

High10Hunter/k8s-lab-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes lab boilerplate

A collection of tools and scripts to help you get started with Kubernetes in the local environment

Requirements

  • Minikube (or K3d, Kind, etc.)
  • Kubie
  • Terraform
  • Kustomize
  • Helm
  • Tools to manage Kubernetes resources (e.g: K9s, Lens, etc.)

Config colima to work with minikube

colima start --cpu 4 --memory 8 --dns 8.8.8.8,1.1.1.1

Setup minikube

# initalize the minikube cluster
minikube start --cpus <number_of_cpus> --memory <memory_usage> --kubernetes-version=<version> --driver=docker
# e.g: minikube start --cpus 2 --memory 4096 --kubernetes-version=v1.31 --driver=docker

# set the context to minikube
kubie ctx minikube

Setup KinD

sudo kind create cluster

# set the context to kind
kubie ctx kind-kind

Provision resources on k8s cluster

cd terraform
terraform init
terraform apply

Launch infrastructure with GitOps

About

A collection of tools and scripts to help you get started with k8s in the local environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published