mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-03-14 14:16:16 +01: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
|
||||
kubernetes.io/name: "CoreDNS"
|
||||
spec:
|
||||
replicas: 1
|
||||
replicas: 2
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: coredns
|
||||
|
|
Loading…
Reference in a new issue