From 5fab610fabda5ae4ad003e0c8d35724aedb2cdc6 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Mon, 6 Jan 2020 13:23:35 +0300 Subject: [PATCH] Clean kubectl cache after upgrade on first master (#5479) Resolves issue where kubectl cache of 1 notify: Master | restart kubelet +- name: kubeadm | clean kubectl cache to refresh api types + file: + path: "{{ item }}" + state: absent + with_items: + - /root/.kube/cache + - /root/.kube/http-cache + # FIXME: https://github.com/kubernetes/kubeadm/issues/1318 - name: kubeadm | scale down coredns replicas to 0 if not using coredns dns_mode command: >-