Role common required

This commit is contained in:
Smaine Kahlouch 2015-10-12 14:13:53 +02:00
parent 744b0be2ac
commit c105e20ac9
3 changed files with 6 additions and 6 deletions

View file

@ -50,8 +50,8 @@ The main variables to change are located in the directory ```environments/[env_n
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
- { role: k8s-skydns, tags: skydns }
- { role: k8s-kube-ui, tags: kube-ui }
- { role: apps/k8s-skydns, tags: skydns }
- { role: apps/k8s-kube-ui, tags: kube-ui }
- hosts: kube-node
roles:
@ -122,7 +122,7 @@ grep path .gitmodules | sed 's/.*= //'
For instance if you will probably want to install a [dns server](https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns) as it is **strongly recommanded**.
In order to use this role you'll need to follow these steps
```
git submodule init roles/apps/k8s-skydns
git submodule init roles/apps/k8s-common roles/apps/k8s-skydns
git submodule update
```
Then update your playbook with the chosen role

View file

@ -15,8 +15,8 @@
roles:
- { role: kubernetes/master, tags: master }
# Addons to be installed
# - { role: k8s-kube-ui, tags: kube-ui }
# - { role: k8s-skydns, tags: skydns }
# - { role: apps/k8s-kube-ui, tags: kube-ui }
# - { role: apps/k8s-skydns, tags: skydns }
- hosts: kube-node
roles:

@ -1 +1 @@
Subproject commit 40e56462f5860d8d63cc9b6a0ded0519f7659010
Subproject commit 766ceeab47bb9122a11d066b0e95960a2ddc6fc1