Sync packaged component Deployment config

Don't override replicas; set revisionHistoryLimit and strategy

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Brad Davidson 2022-11-24 00:37:25 +00:00 committed by Brad Davidson
parent e08a662509
commit d539a0a124
3 changed files with 11 additions and 2 deletions

View File

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

View File

@ -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

View File

@ -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