From c7235e58363ac783f39d6627f54eb9e956a46e7c Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Sat, 22 Feb 2020 01:19:02 +0000 Subject: [PATCH] [22.02.20] Actuator --- configuration/kubernetes/deployment.yaml | 42 ++++++++++++------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index e5db267..4545a4d 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: RESOURCE_NAME namespace: default spec: - replicas: 2 + replicas: 0 selector: matchLabels: app: RESOURCE_NAME @@ -54,26 +54,26 @@ spec: ports: - containerPort: 9090 name: RESOURCE_NAME - livenessProbe: - httpGet: - path: /actuator/health - port: 9090 - scheme: HTTP - initialDelaySeconds: 30 - periodSeconds: 30 - timeoutSeconds: 1 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - port: 9090 - path: /actuator/health - scheme: HTTP - initialDelaySeconds: 30 - periodSeconds: 5 - timeoutSeconds: 1 - successThreshold: 1 - failureThreshold: 10 +# livenessProbe: +# httpGet: +# path: /actuator/health +# port: 9090 +# scheme: HTTP +# initialDelaySeconds: 30 +# periodSeconds: 30 +# timeoutSeconds: 1 +# successThreshold: 1 +# failureThreshold: 3 +# readinessProbe: +# httpGet: +# port: 9090 +# path: /actuator/health +# scheme: HTTP +# initialDelaySeconds: 30 +# periodSeconds: 5 +# timeoutSeconds: 1 +# successThreshold: 1 +# failureThreshold: 10 imagePullPolicy: Always resources: requests: