Skip to content

Commit 96edf07

Browse files
committed
TSTCLD-93: Set path and port for liveness and readiness probe
1 parent 0a7e8cf commit 96edf07

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/sophora-ugc-demo/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: sophora-ugc-demo
33
description: A Helm chart for the UGC demo
44
type: application
55

6-
version: 0.1.1
6+
version: 0.1.2
77

88
appVersion: 'latest'
99

charts/sophora-ugc-demo/templates/deployment.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ spec:
7171
mountPath: /usr/local/ugc-demo/
7272
livenessProbe:
7373
httpGet:
74-
path: /
75-
port: http
74+
path: /ugc-demo/demosite/
75+
port: 8080
7676
initialDelaySeconds: 30
7777
periodSeconds: 3
7878
readinessProbe:
7979
httpGet:
80-
path: /
81-
port: http
80+
path: /ugc-demo/demosite/
81+
port: 8080
8282
initialDelaySeconds: 30
8383
periodSeconds: 3
8484
resources:

0 commit comments

Comments
 (0)