install kubernetes on debian sid

install distribution provided run-time-dependencies used by minikube:
apt-get install qemu-kvm libvirt-daemon-system virtualbox virtualbox-dkms
install minikube and dependencies:
curl -Lo minikube
chmod +x minikube
mv minikube /usr/local/bin/
latest="$(curl -s"
curl -LO "${latest}/bin/darwin/amd64/kubectl"
chmod +x kubectl
mv kubectl /usr/local/bin/
# kvm only
curl -LO
chmod +x docker-machine-driver-kvm2
mv docker-machine-driver-kvm2 /usr/local/bin/
perpare the system for minikube:
# add your <user> to the required groups
adduser <user> docker
adduser <user> kvm # kvm only
adduser <user> libvirt
adduser <user> libvirt-qemu
#logout (sufficient) or reboot (if you like windows)

# allow access to the default network
# TODO - FIXME ## kubctrl minikube virsh # net-autostart default
check the installation:
minikube start --vm-driver virtualbox # bring up the minikube
minikube start --vm-driver kvm2       # bring up the minikube (kvm only)
kubectl cluster-info                  # get info about the cluster
kubectl get nodes                     # show us the nodes


Leave a Reply

Your email address will not be published. Required fields are marked *