202310021729022 K8s Minikube
Recommendation for learning: - 2 CPU cores (or virtual CPUs) at a minimum - at least 2 GB of RAM memory (with 4 - 8 GB of RAM recommended for optimal usage) - 20+ GB of disk storage space - The Kubernetes nodes are expected to access the internet as well, for software updates, container image downloads, and for client accessibility. - VT-x/AMD-v virtualization must be enabled on the local workstation, and/or verify if it is supported. - Type-2 Hypervisor or Container Runtime
Minikube documentation Kubernetes documentation
Installation¶
minikube start
minikube status
minikube stop
minikube profile list

Start with options
minikube start --driver=virtualbox --nodes=3 --disk-size=10g \
--cpus=2 --memory=4g --kubernetes-version=v1.25.1 --cni=calico \
--container-runtime=cri-o -p multivbox
Stop concrete cluster
minikube stop -p minibox
minikube node list
minikube ip
minikube delete -p minibox
References¶
- LinuxFoundationX LFS158x.1. Chapter 6. Minikube - Installing Local Kubernetes Clusters