deis-kubernetes-digitalocean-demo
DO_TOKEN = "generate new api key and put here"
PUBLIC_SSH_KEY = "/path/to/.ssh/id_rsa.pub"
PRIVATE_SSH_KEY = "/path/to/.ssh/id_rsa"
[coreos]
ip1
ip2
ip3
[kubernetes-master]
ip1
[kubernetes-workers]
ip2
ip3
$ cd terraform
$ terraform apply
$ cd ansible
$ ansible-playbook kubernetes.yml -i inventory
$ scripts/kubectl.sh
$ scripts/install_deis.sh
$ scripts/install_client.sh
kubectl describe service deis-router --namespace=deis
# edit group_vars/all
# edit inventory file
ansible-playbook kubernetes.yml -i inventory --limit loadbalancer-ip
$ deis register http://deis.public-ip.nip.io
$ mv demo-app ../app && cd ../app
$ git init
$ git add .
$ git commit -am "initial commit"
$ deis create
$ deis keys:add
$ ssh-agent bash
$ ssh-add ~/.ssh/mykey
$ git push deis master
$ curl appname.public-ip.nip.io