luxas / kubeadm-installer

A kubeadm installer container for CoreOS, Ubuntu, Debian, CentOS and Fedora
MIT License
21 stars 26 forks source link

kubeadm installer for CoreOS, Ubuntu, Debian, CentOS and Fedora

MAINTAINER HAS SWITCHED !

Use https://github.com/xakraz/kubeadm-installer for the latest update and PRs

How to run install kubeadm

Given docker already is installed (otherwise, run curl get.docker.com | bash), you can install kubeadm easily!

$ docker run -it \
    -v /etc/cni:/rootfs/etc/cni \
    -v /etc/systemd:/rootfs/etc/systemd \
    -v /opt:/rootfs/opt \
    -v /usr/bin:/rootfs/usr/bin \
    luxas/kubeadm-installer ${your_os_here}

${your_os_here} can be coreos, ubuntu, debian, fedora or centos

How to uninstall/revert

$ docker run -it    \
    -v /etc/cni:/rootfs/etc/cni \
    -v /etc/systemd:/rootfs/etc/systemd \
    -v /opt:/rootfs/opt \
    -v /usr/bin:/rootfs/usr/bin \
    luxas/kubeadm-installer ${your_os_here} uninstall

What's inside?

License

MIT