Packages I personally think should exist when using Ubuntu to Develop application/system
- Clone this repository
- Run the script in terminal:
$ cd kube-ubuntu-utils/
$ ./install.sh
- apt-transport-https, ca-certificates, software-properties-common (apt via HTTPS)
- git (the most popular version control system)
- vim, curl (obviously need these ones)
- htop (monitor your resources utilization)
- bash-completion (reduce your work of typing commands)
- figlet, cowsay (for fun, you know it)
- unzip (zip and extract)
- pip (package manager via pip)
- docker, docker-engine (containerized now!)
Basic settings and script to have kubernetes running everywhere as long as the OS is Xenial (16.04).
- Clone this repository
- Run the script in terminal:
$ cd kube-ubuntu-utils/
$ ./install-kubernetes.sh
- kubelet (kubernetes' core)
- kubectl (kubernetes's main command line tool)
- kubeadm (most flexible tool to bring up kubernetes cluster in seconds)
- kubernetes-cni (installed automatically when you install above three)
- addiitonal config for kubectl-> allowing autocompletion
- prerequisites config -> disable swap and enable ipv4 forward for iptables
If you are unwilling to disable swap in your machine, you can set kubelet to compromise with your setting by adding this environment to kubelet:
$ /usr/bin/kubelet --fail-swap-on=false
Edit your systemctl kubelet.service
$ sudo systemctl edit -l kubelet.service
If you are using kubeadm to bring up the cluster, you can simply copy the 10-kubeadm.conf in templates/ to /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
- Sanadhi Sutandi (@sanadhis)