mirror of
https://github.com/jcwimer/startup-infrastructure
synced 2026-03-24 22:34:42 +00:00
Switched to kubernetes
This commit is contained in:
16
Vagrantfile
vendored
16
Vagrantfile
vendored
@@ -1,29 +1,29 @@
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
config.vm.define "bootstrap" do |bootstrap|
|
||||
bootstrap.vm.box = "ubuntu/bionic64"
|
||||
config.vm.define "master1" do |bootstrap|
|
||||
bootstrap.vm.box = "debian/stretch64"
|
||||
bootstrap.vm.hostname = "bootstrap"
|
||||
bootstrap.vm.network "private_network", ip: "192.168.254.2"
|
||||
bootstrap.vm.provision :shell, path: "tests/files/provision-script.sh"
|
||||
bootstrap.vm.provider "virtualbox" do |v|
|
||||
v.memory = 1024
|
||||
v.cpus = 1
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "worker1" do |worker1|
|
||||
worker1.vm.box = "ubuntu/bionic64"
|
||||
worker1.vm.box = "debian/stretch64"
|
||||
worker1.vm.hostname = "worker1"
|
||||
worker1.vm.network "private_network", ip: "192.168.254.3"
|
||||
worker1.vm.provision :shell, path: "tests/files/provision-script.sh"
|
||||
worker1.vm.provider "virtualbox" do |v|
|
||||
v.memory = 1024
|
||||
v.cpus = 1
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "client" do |client|
|
||||
client.vm.box = "ubuntu/bionic64"
|
||||
client.vm.box = "debian/stretch64"
|
||||
client.vm.hostname = "client"
|
||||
client.vm.network "private_network", ip: "192.168.254.4"
|
||||
client.vm.provision :shell, path: "tests/files/install-pip.sh"
|
||||
|
||||
Reference in New Issue
Block a user