[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
namespace: production
spec:
replicas: 2
replicas: 0
selector:
matchLabels:
app: RESOURCE_NAME
@ -59,7 +59,7 @@ spec:
path: /actuator/health
port: 9090
scheme: HTTP
initialDelaySeconds: 100
initialDelaySeconds: 120
periodSeconds: 30
timeoutSeconds: 2
successThreshold: 1
@ -69,7 +69,7 @@ spec:
port: 9090
path: /actuator/health
scheme: HTTP
initialDelaySeconds: 80
initialDelaySeconds: 100
periodSeconds: 5
timeoutSeconds: 2
successThreshold: 1

View File

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