[20.02.20] Revert of replica size , strategy and probe

This commit is contained in:
andyjk15 2020-02-20 14:28:52 +00:00
parent a9985e82c7
commit a629080ebd

View File

@ -6,15 +6,15 @@ metadata:
name: RESOURCE_NAME
namespace: default
spec:
replicas: 0
replicas: 2
selector:
matchLabels:
app: RESOURCE_NAME
# strategy:
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 0
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 0
template:
metadata:
labels:
@ -70,6 +70,6 @@ spec:
limits:
cpu: 0.5
memory: 256Mi
# restartPolicy: Always
restartPolicy: Always
imagePullSecrets:
- name: registry-secret