mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-23 08:37:54 -02:30
Running apps after cluster setup, update README
This commit is contained in:
@@ -50,12 +50,16 @@ 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: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
|
|
||||||
- { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
|
- { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
|
||||||
|
|
||||||
- hosts: kube-node
|
- hosts: kube-node
|
||||||
roles:
|
roles:
|
||||||
- { role: kubernetes/node, tags: node }
|
- { role: kubernetes/node, tags: node }
|
||||||
|
|
||||||
|
- hosts: kube-master
|
||||||
|
roles:
|
||||||
|
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
|
||||||
|
- { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run
|
### Run
|
||||||
@@ -165,7 +169,6 @@ Finally update your playbook with the chosen role, and run it
|
|||||||
...
|
...
|
||||||
- hosts: kube-master
|
- hosts: kube-master
|
||||||
roles:
|
roles:
|
||||||
- { role: kubernetes/master, tags: master }
|
|
||||||
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
|
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user