Deploy Minikube Reference
Looking into the Minikube setup repository, we can find the following useful variables:
BIN_DIR
: Directory where the Minikube DRIVER is installedEXE_DIR
: Directory where Minikube and tools (e.g., kubectl, helm) are installedDRIVER
: Driver used to spin up the VM where Minikube runs. Defaults to podman on Linux/WSL and hyperkit on macOS. For Apple Sillicon, use dockerRUNTIME
: OCI engine used within the VM. Defaults to dockerNODES
: Number of (VM) Nodes for Minikube to create and join to the clusterCPUS
: Number of (v)CPUs to allocate to MinikubeMEM
: Amount of RAM in MB to allocate to MinikubeMINIKUBE_VERSION
: Minikube version to installKUBERNETES_VERSION
: Kubernetes version to create the Minikube clusterHELM_VERSION
: Helm version to installHELMFILE_VERSION
: Helmfile version to installK9S_VERSION
: K9s version to installYQ_VERSION
: YQ version to installMETALLB_VERSION
: Metallb version to deploySKA_TANGO_OPERATOR_ENABLED
: Flag to do or skip the SKA Tango Operator deploymentSKA_TANGO_OPERATOR_VERSION
: SKA Tango Operator version to deploy
Also, the following make targets are available:
all
: Set up the environment and deploy the Minikube cluster with all the addonsminikube-vars
: List public variables and Minikube statusminikube-setup
: Install command-line tools for Minikubeminikube-install
: Install Minikube and configure the Kubernetes cluster by installing StorageClasses, Metallb, ExternalDNS and other addonsminikube-clean
: Delete the Minikube cluster and associated resourcesminikube-tools
: Install the Ingress/Load Balancer (minikube-haproxy
) to expose HTTP and HTTPS ingress ports on the host and the OCI registry (minikube-registry
)minikube-storage-classes
: Sets up StorageClasses to support the creation of PVCsminikube-metallb-config
: Configures Metallb to expose LoadBalancer Services in separate interfacesminikube-tango-operator
: Deploys the SKA Tango Operator to enable the deployment of DeviceServer and DatabaseDS (CRDs)minikube-extdns
: Deploys the ExternalDNS server to expose the names of LoadBalancer services to the hostminikube-update-dns
: Updates the host DNS with the configurations to use ExternalDNS for svc.cluster.local queries