From d539a0a124c87e0ce09107684fe0ff1a0ba652cf Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Thu, 24 Nov 2022 00:37:25 +0000 Subject: [PATCH] Sync packaged component Deployment config Don't override replicas; set revisionHistoryLimit and strategy Signed-off-by: Brad Davidson --- manifests/coredns.yaml | 2 +- manifests/local-storage.yaml | 6 +++++- manifests/metrics-server/metrics-server-deployment.yaml | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/manifests/coredns.yaml b/manifests/coredns.yaml index d84b9bcf22..66ff5556b0 100644 --- a/manifests/coredns.yaml +++ b/manifests/coredns.yaml @@ -84,7 +84,7 @@ metadata: k8s-app: kube-dns kubernetes.io/name: "CoreDNS" spec: - #replicas: 1 + revisionHistoryLimit: 0 strategy: type: RollingUpdate rollingUpdate: diff --git a/manifests/local-storage.yaml b/manifests/local-storage.yaml index 4ba3dbb4b1..915e670842 100644 --- a/manifests/local-storage.yaml +++ b/manifests/local-storage.yaml @@ -41,7 +41,11 @@ metadata: name: local-path-provisioner namespace: kube-system spec: - replicas: 1 + revisionHistoryLimit: 0 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 selector: matchLabels: app: local-path-provisioner diff --git a/manifests/metrics-server/metrics-server-deployment.yaml b/manifests/metrics-server/metrics-server-deployment.yaml index c9b7421095..18ae8a8e90 100644 --- a/manifests/metrics-server/metrics-server-deployment.yaml +++ b/manifests/metrics-server/metrics-server-deployment.yaml @@ -13,6 +13,11 @@ metadata: labels: k8s-app: metrics-server spec: + revisionHistoryLimit: 0 + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 1 selector: matchLabels: k8s-app: metrics-server