With the Kubernetes daemon (installed and ran by minikube
) and the Kubernetes client (kubectl
) installed, we can now run minikube start
to create and start our cluster. We'd need to pass in --vm-driver=none
as we are not using a VM.
We need to run the minikube start
command as root
because the kubeadm
and kubelet
binaries need to be downloaded and moved to /usr/local/bin
, which requires root privileges.
However, this usually means that all the files created and written during the installation and initiation process will be owned by root
. This makes it hard for a normal user to modify configuration files.
Fortunately, Kubernetes provides several environment variables that we can set to change this.