Created
November 29, 2015 10:33
-
-
Save tongda/d737428d29dec36b79c6 to your computer and use it in GitHub Desktop.
Vagrantfile that used for creating kubernetes ubuntu cluster.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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