Commit 2fdcb123 authored by zhangdongdong's avatar zhangdongdong

Update k8s-deploy-template.yaml

parent 29bc869e
...@@ -24,12 +24,19 @@ spec: ...@@ -24,12 +24,19 @@ spec:
imagePullPolicy: "Always" imagePullPolicy: "Always"
ports: ports:
- containerPort: {PORT} - containerPort: {PORT}
livenessProbe:
httpGet:
scheme: HTTP
path: /actuator/health
port: 1024
initialDelaySeconds: 20
periodSeconds: 10
readinessProbe: readinessProbe:
httpGet: httpGet:
scheme: HTTP scheme: HTTP
path: /actuator/health path: /actuator/health
port: 1024 port: 1024
initialDelaySeconds: 10 initialDelaySeconds: 20
periodSeconds: 5 periodSeconds: 10
imagePullSecrets: imagePullSecrets:
- name: kp-schbrain - name: kp-schbrain
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