diff options
| -rw-r--r-- | f3s/ychat/helm-chart/templates/deployment.yaml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/f3s/ychat/helm-chart/templates/deployment.yaml b/f3s/ychat/helm-chart/templates/deployment.yaml index 53f8443..5b5a4d1 100644 --- a/f3s/ychat/helm-chart/templates/deployment.yaml +++ b/f3s/ychat/helm-chart/templates/deployment.yaml @@ -35,18 +35,9 @@ spec: ports: - containerPort: 2000 name: http - # yChat speaks HTTP/0.9-style responses (no status line), so an - # httpGet probe would never succeed. Use a TCP socket probe instead. - livenessProbe: - tcpSocket: - port: http - initialDelaySeconds: 5 - periodSeconds: 15 - readinessProbe: - tcpSocket: - port: http - initialDelaySeconds: 3 - periodSeconds: 10 + # No liveness/readiness probes: yChat segfaults on an empty TCP + # open+close (a TCP-socket probe would kill it). It serves real HTTP + # requests fine, and kubelet restarts the pod if the process exits. resources: requests: memory: 32Mi |
