Function server_forge::containerization::install_kubernetes
source · pub fn install_kubernetes() -> Result<(), Box<dyn Error>>
Expand description
Installs Kubernetes tools (kubectl and minikube) on the system.
This function downloads and installs kubectl and minikube, and installs a virtualization driver (VirtualBox in this implementation) required for running Kubernetes locally.
§Returns
Returns Ok(())
if Kubernetes tools are installed successfully, or an error if installation fails.