From 0dc4967e4327e5a27e05c13495fe900a54292985 Mon Sep 17 00:00:00 2001 From: Brad Beam Date: Wed, 19 Apr 2017 16:00:44 +0000 Subject: [PATCH] Explicitly create cni bin dir If this path doesnt exist, it will cause kubelet to fail to start when using rkt --- roles/kubernetes/node/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/kubernetes/node/tasks/main.yml b/roles/kubernetes/node/tasks/main.yml index 324e38867..f09845f76 100644 --- a/roles/kubernetes/node/tasks/main.yml +++ b/roles/kubernetes/node/tasks/main.yml @@ -7,6 +7,12 @@ - include: pre_upgrade.yml tags: kubelet +- name: Ensure /var/lib/cni exists + file: + path: /var/lib/cni + state: directory + mode: 0755 + - include: install.yml tags: kubelet