summaryrefslogtreecommitdiff
path: root/playbooks/k8s-stream.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/k8s-stream.yaml')
-rw-r--r--playbooks/k8s-stream.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/k8s-stream.yaml b/playbooks/k8s-stream.yaml
index 6292f24a..ff369435 100644
--- a/playbooks/k8s-stream.yaml
+++ b/playbooks/k8s-stream.yaml
@@ -2,8 +2,14 @@
- name: install kubernetes and overlay network
hosts: k8s-stream
roles:
- - role: kubernetes-base
+ ## Since `base` has a dependency for docker it would install and start the daemon
+ ## without the docker daemon config file generated by `net`.
+ ## This means that the docker daemon will create a bridge and install iptables rules
+ ## upon first startup (the first time this playbook runs on a specific host).
+ ## Since it is a tedious task to remove the interface and the firewall rules it is much
+ ## easier to just run `net` before `base` as `net` does not need anything from `base`.
- role: kubernetes-net
+ - role: kubernetes-base
- name: configure kubernetes master
hosts: k8s-stream-master