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
|
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…
Reference in New Issue