Skip to content

Commit c6f9b7e

Browse files
author
soulseen
committed
Update deploy readiness
Signed-off-by: soulseen <[email protected]>
1 parent 3e3910c commit c6f9b7e

File tree

5 files changed

+21
-6
lines changed

5 files changed

+21
-6
lines changed

deploy/dev-ol/devops-sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ spec:
3333
httpGet:
3434
path: /
3535
port: 8080
36+
timeoutSeconds: 10
37+
failureThreshold: 30
38+
periodSeconds: 5
3639
imagePullPolicy: Always
3740
name: ks-sample
3841
ports:

deploy/dev/devops-sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ spec:
3333
httpGet:
3434
path: /
3535
port: 8080
36+
timeoutSeconds: 10
37+
failureThreshold: 30
38+
periodSeconds: 5
3639
imagePullPolicy: Always
3740
name: ks-sample
3841
ports:

deploy/no-branch-dev/devops-sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ spec:
3030
httpGet:
3131
path: /
3232
port: 8080
33+
timeoutSeconds: 10
34+
failureThreshold: 30
35+
periodSeconds: 5
3336
ports:
3437
- containerPort: 8080
3538
protocol: TCP

deploy/prod-ol/devops-sample.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ spec:
3535
value: 3d
3636
image: $REDISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$TAG_NAME
3737
readinessProbe:
38-
httpGet:
39-
path: /
40-
port: 8080
38+
httpGet:
39+
path: /
40+
port: 8080
41+
timeoutSeconds: 10
42+
failureThreshold: 30
43+
periodSeconds: 5
4144
imagePullPolicy: Always
4245
name: ks
4346
ports:

deploy/prod/devops-sample.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ spec:
3535
value: 3d
3636
image: $REDISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME
3737
readinessProbe:
38-
httpGet:
39-
path: /
40-
port: 8080
38+
httpGet:
39+
path: /
40+
port: 8080
41+
timeoutSeconds: 10
42+
failureThreshold: 30
43+
periodSeconds: 5
4144
imagePullPolicy: Always
4245
name: ks
4346
ports:

0 commit comments

Comments
 (0)