This file contains hidden or 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 : | |
# This configuration requires Vagrant 1.5 or newer and two plugins: | |
# | |
# vagrant plugin install vagrant-hosts ~> 2.1.4 | |
# vagrant plugin install vagrant-auto_network ~> 1.0.0 | |
# | |
# After installation, the following steps will spin up a master and agent that | |
# can communicate with each other: |
This file contains hidden or 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
docker-machine create --driver=virtualbox testing | |
docker-machine create --driver=virtualbox testing2 | |
eval $(docker-machine env testing2) | |
docker-machine ssh testing2 "curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s staged" | |
docker-machine ssh testing2 "sudo tee -a /etc/rexray/config.yml << EOF | |
rexray: | |
logLevel: debug | |
storageDrivers: | |
- virtualbox |
This file contains hidden or 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
docker-machine create --driver=virtualbox tb | |
eval $(docker-machine env tb) | |
docker-machine ssh tb sudo dd if=/dev/zero of=/sio_device1 bs=1 count=0 seek=100G | |
docker build -t scaleio-tb scaleio-tb/. | |
docker-machine create --driver=virtualbox mdm2 | |
eval $(docker-machine env mdm2) | |
docker-machine ssh mdm2 sudo dd if=/dev/zero of=/sio_device1 bs=1 count=0 seek=100G | |
docker build -t scaleio-secondary-mdm scaleio-secondary-mdm/. |
This file contains hidden or 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
docker-machine create --driver=virtualbox --virtualbox-memory=4096 --virtualbox-cpu-count=2 k8-build | |
eval $(docker-machine env k8-build) | |
docker-machine ssh k8-build sudo mkdir /etc/rexray | |
docker-machine ssh k8-build "sudo tee -a /etc/rexray/config.yml << EOF | |
rexray: | |
storageDrivers: | |
- virtualbox | |
modules: |
This file contains hidden or 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
docker-machine create --driver=virtualbox k8 | |
eval $(docker-machine env k8) | |
VBoxManage setproperty websrvauthlibrary null | |
/Applications/VirtualBox.app/Contents/MacOS/vboxwebsrv -H 0.0.0.0 -v | |
docker-machine ssh k8 "sudo mkdir -p /etc/rexray && sudo tee -a /etc/rexray/config.yml << EOF | |
rexray: | |
storageDrivers: | |
- virtualbox |
This file contains hidden or 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
eval $(docker-machine env manager) | |
TOKEN=$(docker run --rm swarm create) | |
docker-machine create --driver=virtualbox --swarm --swarm-master --swarm-discovery token://$TOKEN manager | |
docker-machine create --driver=virtualbox --swarm --swarm-discovery token://$TOKEN agent1 | |
docker-machine create --driver=virtualbox --swarm --swarm-discovery token://$TOKEN agent2 |
This file contains hidden or 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
eval $(docker-machine env manager) | |
TOKEN=$(docker run --rm swarm create) | |
docker-machine create --driver=virtualbox --swarm --swarm-master --swarm-discovery token://$TOKEN manager | |
docker-machine create --driver=virtualbox --swarm --swarm-discovery token://$TOKEN agent1 | |
docker-machine create --driver=virtualbox --swarm --swarm-discovery token://$TOKEN agent2 |
This file contains hidden or 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
{ | |
"apiVersion": "v1", | |
"kind": "Pod", | |
"metadata": {"name":"k8s-master"}, | |
"spec":{ | |
"hostNetwork": true, | |
"containers":[ | |
{ | |
"name": "controller-manager", | |
"image": "emccode/hyperkube-amd64:v1.2.0-alpha.8", |
This file contains hidden or 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
// Disable VirtualBox authentication | |
VBoxManage setproperty websrvauthlibrary null | |
// Start SOAP service so REX-Ray can talk to VirtualBox from the container host VMs | |
/Applications/VirtualBox.app/Contents/MacOS/vboxwebsrv -H 0.0.0.0 -v | |
// Create a Swarm cluster | |
docker-machine create --driver=virtualbox default | |
eval $(docker-machine env default) | |
TOKEN=$(docker run --rm swarm create) |
This file contains hidden or 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
polly: | |
store: | |
type: boltdb | |
endpoints: /tmp/boltdb | |
bucket: MyBoltDb_test | |
libstorage: | |
host: tcp://localhost:7981 | |
profiles: | |
enabled: true | |
groups: |
OlderNewer