mirror of https://github.com/k3s-io/k3s
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
parent
2531ef3b7b
commit
5fde2e74f7
|
@ -84,7 +84,7 @@ metadata:
|
|||
k8s-app: kube-dns
|
||||
kubernetes.io/name: "CoreDNS"
|
||||
spec:
|
||||
#replicas: 1
|
||||
revisionHistoryLimit: 0
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue