From 931a977c50d062a482ffe1829dcad801db3c2fc9 Mon Sep 17 00:00:00 2001 From: Sean Turner Date: Wed, 7 Feb 2018 12:09:19 +0000 Subject: [PATCH] Improvement --- no.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/no.yaml b/no.yaml index 8038eeb..96f7c9e 100644 --- a/no.yaml +++ b/no.yaml @@ -7,14 +7,14 @@ metadata: run: scratch name: scratch spec: - replicas: 1 + replicas: 0 selector: matchLabels: run: scratch strategy: rollingUpdate: - maxSurge: 1 - maxUnavailable: 1 + maxSurge: 0 + maxUnavailable: 65535 type: RollingUpdate template: metadata: @@ -22,8 +22,14 @@ spec: labels: run: scratch spec: - containers: {} - dnsPolicy: ClusterFirst + containers: + - image: scratch + imagePullPolicy: Always + name: scratch + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: Default restartPolicy: Always schedulerName: default-scheduler securityContext: {}