mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 20:42:33 +02:00
add rolling update strategy (#41)
This commit is contained in:
parent
84cd6fe922
commit
fe27fe6f56
1 changed files with 5 additions and 1 deletions
|
@ -68,7 +68,11 @@ metadata:
|
||||||
k8s-app: coredns
|
k8s-app: coredns
|
||||||
kubernetes.io/name: "CoreDNS"
|
kubernetes.io/name: "CoreDNS"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxUnavailable: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
k8s-app: coredns
|
k8s-app: coredns
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue