Minikube cluster
Minikube software runs a single-node Kubernetes cluster in a virtual machine.
The cluster/minikube/cdk-minikube start command creates a Minikube cluster with a configuration thatβs suitable for CDK deployments.
To set up Minikube:
$ cd /path/to/forgeops/cluster/minikube $ ./cdk-minikube start Running: "minikube start --cpus=3 --memory=9g --disk-size=40g --cni=true --kubernetes-version=stable --addons=ingress,volumesnapshots --driver=hyperkit" π minikube v1.30.1 on Darwin 13.2.1 β¨ Using the hyperkit driver based on user configuration π Starting control plane node minikube in cluster minikube π₯ Creating hyperkit VM (CPUs=3, Memory=9216MB, Disk=40960MB) ... π³ Preparing Kubernetes v1.26.3 on Docker 20.10.23 β¦β π Configuring CNI (Container Networking Interface) β¦β βͺ Using image gcr.io/k8s-minikube/storage-provisioner:v5 βͺ Using image k8s.gcr.io/sig-storage/snapshot-controller:v6.1.0 βͺ Using image registry.k8s.io/ingress-nginx/controller:v1.7.0 βͺ Using image registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20230312-helm-chart-4.5.2-28-g66a760794 βͺ Using image registry.k8s.io/ingress-nginx/kube-webhook-certgen:v20230312-helm-chart-4.5.2-28-g66a760794 π Verifying Kubernetes components... π Verifying ingress addon... π Enabled addons: storage-provisioner, default-storageclass, volumesnapshots, ingress π Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
By default, the cluster/minikube/cdk-minikube utility uses the
Hyperkit driver on macOS systems and the Docker driver on Linux systems. If you
prefer to configure a different virtual machine driver, specify the |