From ffe0738f602f6706be5ea46c1c7f9b2a51b1ef05 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Thu, 12 Mar 2020 15:02:50 -0400 Subject: [PATCH] install-kubernetes: install lz4 packages minikube has added a new "feature" which pre-loads a blob of data with everything it needs that we can't disable, with a fallback. we're currently downloading ~500MB and failing to use it because it's compressed by lz4 which we don't have in images, this change adds that to the package list. Change-Id: If74faf2b21d564fa23253ea2eb5378457f055735 --- roles/install-kubernetes/tasks/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/install-kubernetes/tasks/main.yaml b/roles/install-kubernetes/tasks/main.yaml index 445f71c88..ad49354e5 100644 --- a/roles/install-kubernetes/tasks/main.yaml +++ b/roles/install-kubernetes/tasks/main.yaml @@ -10,10 +10,12 @@ repo: deb http://apt.kubernetes.io/ kubernetes-xenial main state: present -- name: Install kubernetes packages +- name: Install kubernetes packages and dependencies become: yes apt: - name: kubectl + name: + - kubectl + - liblz4-tool update_cache: yes - name: Run cluster tasks