Browse Source

Role common required

pull/6/head
Smaine Kahlouch 9 years ago
parent
commit
c105e20ac9
3 changed files with 6 additions and 6 deletions
  1. 6
      README.md
  2. 4
      cluster.yml
  3. 2
      roles/apps/k8s-kube-ui

6
README.md

@ -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

4
cluster.yml

@ -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:

2
roles/apps/k8s-kube-ui

@ -1 +1 @@
Subproject commit 40e56462f5860d8d63cc9b6a0ded0519f7659010
Subproject commit 766ceeab47bb9122a11d066b0e95960a2ddc6fc1
Loading…
Cancel
Save