[20.02.20] Disabled auto restart so pods can be deleted

This commit is contained in:
andyjk15 2020-02-20 14:07:12 +00:00
parent 4730e3b668
commit a9985e82c7

View File

@ -6,15 +6,15 @@ metadata:
name: RESOURCE_NAME name: RESOURCE_NAME
namespace: default namespace: default
spec: spec:
replicas: 2 replicas: 0
selector: selector:
matchLabels: matchLabels:
app: RESOURCE_NAME app: RESOURCE_NAME
strategy: # strategy:
type: RollingUpdate # type: RollingUpdate
rollingUpdate: # rollingUpdate:
maxSurge: 25% # maxSurge: 25%
maxUnavailable: 0 # maxUnavailable: 0
template: template:
metadata: metadata:
labels: labels: