For reference https://kubernetes.io/docs/tasks/tools/install-kubeadm/
sudo apt-get update
sudo apt-get install -y docker.io
# update | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install curl -y | |
sudo apt-get install wget -y | |
# Install vs code | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' |
sudo apt-get update
sudo apt-get install -y docker.io
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.require_version ">= 1.6.0" | |
# K8s Master Nodes | |
M_NODES = ENV['M_NODES'] || 1 |