Sync packaged component Deployment config

Don't override replicas; set revisionHistoryLimit and strategy

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit d539a0a124)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/6623/head
Brad Davidson 2022-11-24 00:37:25 +00:00 committed by Brad Davidson
parent 2531ef3b7b
commit 5fde2e74f7
3 changed files with 11 additions and 2 deletions

View File

@ -84,7 +84,7 @@ metadata:
k8s-app: kube-dns k8s-app: kube-dns
kubernetes.io/name: "CoreDNS" kubernetes.io/name: "CoreDNS"
spec: spec:
#replicas: 1 revisionHistoryLimit: 0
strategy: strategy:
type: RollingUpdate type: RollingUpdate
rollingUpdate: rollingUpdate:

View File

@ -41,7 +41,11 @@ metadata:
name: local-path-provisioner name: local-path-provisioner
namespace: kube-system namespace: kube-system
spec: spec:
replicas: 1 revisionHistoryLimit: 0
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
selector: selector:
matchLabels: matchLabels:
app: local-path-provisioner app: local-path-provisioner

View File

@ -13,6 +13,11 @@ metadata:
labels: labels:
k8s-app: metrics-server k8s-app: metrics-server
spec: spec:
revisionHistoryLimit: 0
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
selector: selector:
matchLabels: matchLabels:
k8s-app: metrics-server k8s-app: metrics-server