Skip to content

Commit 864e8f5

Browse files
committed
tune settings
1 parent 5314019 commit 864e8f5

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

deploy/releases/app.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ releases:
2424
pullPolicy: Always
2525
pullSecrets:
2626
- "pull-secret"
27-
replicaCount: 2
27+
replicaCount: 10
2828
# Deployment configuration
2929
deployment:
3030
enabled: true
3131
strategy:
3232
type: "RollingUpdate"
3333
rollingUpdate:
34-
maxUnavailable: 0
34+
maxUnavailable: 2
3535
revisionHistoryLimit: 10
3636

3737
# Configuration Settings
@@ -40,7 +40,8 @@ releases:
4040
enabled: true
4141
env:
4242
# Color to deploy
43-
COLOR: "cyan"
43+
#COLOR: "#0099ff" # Blue
44+
COLOR: "#009900" # Green
4445

4546
# Service endpoint
4647
service:
@@ -72,27 +73,30 @@ releases:
7273
- '{{ requiredEnv "COLOR" }}.{{ env "APP_HOSTNAME" }}'
7374

7475
probes:
76+
# Probe that ensures service is healthy
7577
livenessProbe:
7678
httpGet:
7779
path: /healthz
7880
port: default
7981
scheme: HTTP
80-
periodSeconds: 60
81-
initialDelaySeconds: 5
82+
periodSeconds: 5
83+
initialDelaySeconds: 0
8284
timeoutSeconds: 5
8385
successThreshold: 1
84-
failureThreshold: 5
86+
failureThreshold: 3
8587
scheme: HTTP
88+
89+
# Probe that ensures service has started
8690
readinessProbe:
8791
httpGet:
8892
path: /healthz
8993
port: default
9094
scheme: HTTP
91-
periodSeconds: 60
92-
initialDelaySeconds: 10
95+
periodSeconds: 3
96+
initialDelaySeconds: 0
9397
timeoutSeconds: 5
9498
successThreshold: 1
95-
failureThreshold: 5
99+
failureThreshold: 2
96100

97101
resources:
98102
requests:

0 commit comments

Comments
 (0)