From 9932bc76bb05a6c0dae2e9ce5bc2af440eaa3bb3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 20 Jan 2018 03:31:51 +0100 Subject: use specific version of kubernetes and docker-ce --- playbooks/k8s-stream.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'playbooks/k8s-stream.yaml') 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 -- cgit v1.2.3