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

README update, 1 distinct playbook for apps

parent d94bc8e5
No related branches found
No related tags found
No related merge requests found
...@@ -203,13 +203,15 @@ grep path .gitmodules | sed 's/.*= //' ...@@ -203,13 +203,15 @@ 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**.
Please refer to the [k8s-kubdns readme](https://github.com/ansibl8s/k8s-kubedns) for additionnal info.
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-common roles/apps/k8s-kubedns git submodule init roles/apps/k8s-common roles/apps/k8s-kubedns
git submodule update git submodule update
``` ```
Finally update your playbook with the chosen role, and run it Finally update the playbook ```apps.yml``` with the chosen roles, and run it
``` ```
... ...
- hosts: kube-master - hosts: kube-master
...@@ -217,7 +219,11 @@ Finally update your playbook with the chosen role, and run it ...@@ -217,7 +219,11 @@ Finally update your playbook with the chosen role, and run it
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] } - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
... ...
``` ```
Please refer to the [k8s-kubdns readme](https://github.com/ansibl8s/k8s-kubedns) for additionnal info.
```
ansible-playbook -i environments/dev/inventory apps.yml -u root
```
#### Calico networking #### Calico networking
Check if the calico-node container is running Check if the calico-node container is running
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment