Browse Source

Running apps after cluster setup

pull/11/head
Smaine Kahlouch 9 years ago
parent
commit
73e240c644
4 changed files with 6 additions and 11 deletions
  1. 3
      .gitmodules
  2. 9
      cluster.yml
  3. 4
      requirements.yml
  4. 1
      roles/apps/k8s-haproxy

3
.gitmodules

@ -23,9 +23,6 @@
[submodule "roles/apps/k8s-memcached"]
path = roles/apps/k8s-memcached
url = https://github.com/ansibl8s/k8s-memcached.git
[submodule "roles/apps/k8s-haproxy"]
path = roles/apps/k8s-haproxy
url = https://github.com/ansibl8s/k8s-haproxy.git
[submodule "roles/apps/k8s-postgres"]
path = roles/apps/k8s-postgres
url = https://github.com/ansibl8s/k8s-postgres.git

9
cluster.yml

@ -14,10 +14,13 @@
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
# Apps to be installed
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
- hosts: kube-node
roles:
- { role: kubernetes/node, tags: node }
#- hosts: kube-master
# roles:
# Apps to be installed
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }

4
requirements.yml

@ -27,10 +27,6 @@
# path: roles/apps
# # version: v1.0
#
#- src: https://github.com/ansibl8s/k8s-haproxy.git
# path: roles/apps
# # version: v1.0
#
#- src: https://github.com/ansibl8s/k8s-postgres.git
# path: roles/apps
# version: v1.0

1
roles/apps/k8s-haproxy

@ -1 +0,0 @@
Subproject commit c17312c4dffd4728deeea12782fab5f42b6fed1d
Loading…
Cancel
Save