add rolling update strategy (#41)

This commit is contained in:
Chris O'Haver 2018-01-03 06:26:22 -05:00 committed by Miek Gieben
parent 84cd6fe922
commit fe27fe6f56

View file

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