修复探针配置问题

This commit is contained in:
2024-12-20 11:11:00 +00:00
committed by cloud-init created default user
parent 035b8dba61
commit 9df00e1c0c
21 changed files with 1163 additions and 330 deletions

View File

@@ -169,26 +169,27 @@ spec:
env:
- name: DRAWIO_SERVER_URL
value: "http://localhost:8080"
livenessProbe:
tcpSocket:
port: 8000
initialDelaySeconds: 300
periodSeconds: 10
timeoutSeconds: 30
failureThreshold: 3
successThreshold: 3
readinessProbe:
tcpSocket:
port: 8000
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 3
startupProbe:
tcpSocket:
port: 8000
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 30
readinessProbe:
tcpSocket:
port: 8000
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
successThreshold: 1
livenessProbe:
tcpSocket:
port: 8000
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 3
timeoutSeconds: 1
failureThreshold: 3
- name: drawio
image: jgraph/drawio:24.7.17
volumeMounts:
@@ -207,26 +208,27 @@ spec:
# value: "http://plantuml-server:8080"
- name: EXPORT_URL
value: "http://localhost:8000"
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 300
periodSeconds: 10
timeoutSeconds: 30
failureThreshold: 3
successThreshold: 3
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 3
startupProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 30
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 1
successThreshold: 1
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
successThreshold: 3
timeoutSeconds: 1
failureThreshold: 3
nodeSelector:
node.k8s.hty1024.com/type: app