Skip to content
Snippets Groups Projects
Commit c105e20a authored by Smaine Kahlouch's avatar Smaine Kahlouch
Browse files

Role common required

parent 744b0be2
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,8 @@ The main variables to change are located in the directory ```environments/[env_n ...@@ -50,8 +50,8 @@ The main variables to change are located in the directory ```environments/[env_n
- hosts: kube-master - hosts: kube-master
roles: roles:
- { role: kubernetes/master, tags: master } - { role: kubernetes/master, tags: master }
- { role: k8s-skydns, tags: skydns } - { role: apps/k8s-skydns, tags: skydns }
- { role: k8s-kube-ui, tags: kube-ui } - { role: apps/k8s-kube-ui, tags: kube-ui }
- hosts: kube-node - hosts: kube-node
roles: roles:
...@@ -122,7 +122,7 @@ grep path .gitmodules | sed 's/.*= //' ...@@ -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**. 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 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 git submodule update
``` ```
Then update your playbook with the chosen role Then update your playbook with the chosen role
......
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
roles: roles:
- { role: kubernetes/master, tags: master } - { role: kubernetes/master, tags: master }
# Addons to be installed # Addons to be installed
# - { role: k8s-kube-ui, tags: kube-ui } # - { role: apps/k8s-kube-ui, tags: kube-ui }
# - { role: k8s-skydns, tags: skydns } # - { role: apps/k8s-skydns, tags: skydns }
- hosts: kube-node - hosts: kube-node
roles: roles:
......
Subproject commit 40e56462f5860d8d63cc9b6a0ded0519f7659010 Subproject commit 766ceeab47bb9122a11d066b0e95960a2ddc6fc1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment