Commit 3714d6cd authored by liaozan's avatar liaozan 🏀

Probe active only when dev environment

parent 4f44b400
...@@ -46,6 +46,7 @@ spec: ...@@ -46,6 +46,7 @@ spec:
protocol: TCP protocol: TCP
- containerPort: 1024 - containerPort: 1024
protocol: TCP protocol: TCP
#if($PROFILE != 'dev')
startupProbe: startupProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
...@@ -66,6 +67,7 @@ spec: ...@@ -66,6 +67,7 @@ spec:
path: /actuator/health/readiness path: /actuator/health/readiness
port: 1024 port: 1024
periodSeconds: 10 periodSeconds: 10
#end
volumeMounts: volumeMounts:
- name: ${APP_NAME}-volume - name: ${APP_NAME}-volume
mountPath: /data mountPath: /data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment