Create a gist now

Instantly share code, notes, and snippets.

Embed
Vagrantfile that used for creating kubernetes ubuntu cluster.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 1
end
config.vm.network "private_network", type: "dhcp"
config.vm.define :master do |master|
master.vm.hostname = "master"
end
config.vm.define :minion1 do |minion1|
minion1.vm.hostname = "minion1"
end
config.vm.define :minion2 do |minion2|
minion2.vm.hostname = "minion2"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment