Sync packaged component Deployment config

Don't override replicas; set revisionHistoryLimit and strategy

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/6588/head
Brad Davidson 2 years ago committed by Brad Davidson
parent e08a662509
commit d539a0a124

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

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

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

Loading…
Cancel
Save