From d7b79395c7bf00ec4821eebb3848f1a190c645ef Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Fri, 2 Jun 2023 07:45:46 +0800 Subject: [PATCH] Add labels to kube-vip static pods (#10139) --- .../kubernetes/node/templates/manifests/kube-vip.manifest.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2 b/roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2 index 95b11161b..0daf82098 100644 --- a/roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2 +++ b/roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2 @@ -2,9 +2,11 @@ apiVersion: v1 kind: Pod metadata: - creationTimestamp: null name: kube-vip namespace: kube-system + labels: + addonmanager.kubernetes.io/mode: Reconcile + k8s-app: kube-vip spec: containers: - args: