[1.03.20] Scale pods and increase probes duration

This commit is contained in:
andyjk15 2020-03-01 19:48:23 +00:00
parent 11d402c5bb
commit ea66c479cb
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ metadata:
name: RESOURCE_NAME name: RESOURCE_NAME
namespace: production namespace: production
spec: spec:
replicas: 2 replicas: 0
selector: selector:
matchLabels: matchLabels:
app: RESOURCE_NAME app: RESOURCE_NAME
@ -59,7 +59,7 @@ spec:
path: /actuator/health path: /actuator/health
port: 9090 port: 9090
scheme: HTTP scheme: HTTP
initialDelaySeconds: 100 initialDelaySeconds: 120
periodSeconds: 30 periodSeconds: 30
timeoutSeconds: 2 timeoutSeconds: 2
successThreshold: 1 successThreshold: 1
@ -69,7 +69,7 @@ spec:
port: 9090 port: 9090
path: /actuator/health path: /actuator/health
scheme: HTTP scheme: HTTP
initialDelaySeconds: 80 initialDelaySeconds: 100
periodSeconds: 5 periodSeconds: 5
timeoutSeconds: 2 timeoutSeconds: 2
successThreshold: 1 successThreshold: 1

View File

@ -12,7 +12,7 @@ spring:
platform: postgres platform: postgres
jpa: jpa:
hibernate: hibernate:
ddl-auto: create ddl-auto: validate
show-sql: true show-sql: true
properties: properties:
org.hibernate.envers.revision_field_name: revision_id org.hibernate.envers.revision_field_name: revision_id