Browse Source

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
commit
d539a0a124
  1. 2
      manifests/coredns.yaml
  2. 6
      manifests/local-storage.yaml
  3. 5
      manifests/metrics-server/metrics-server-deployment.yaml

2
manifests/coredns.yaml

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

6
manifests/local-storage.yaml

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

5
manifests/metrics-server/metrics-server-deployment.yaml

@ -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…
Cancel
Save