Install Kubernetes + flannel on bare metal (or VM).
The script only supports debian
and ubuntu
. It’s pretty easy though to use other package managers to install packages.
Notice: If you set variant to master
, this script will untaint master node / control-plane to allow deployment on the master node. If you don’t want this behavior, you can remove kubectl taint nodes ...
in setup_master
.
Usage:
bash install-k8s-flannel-debian+ubuntu.bash [master|worker]
Go to the Github Gist to see more details.