[20.02.20] Disabled auto restart so pods can be deleted
This commit is contained in:
parent
4730e3b668
commit
a9985e82c7
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user