README update, 1 distinct playbook for apps
This commit is contained in:
parent
d94bc8e599
commit
34419d6bae
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -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
|
||||||
- { 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
|
||||||
|
|
Loading…
Reference in a new issue