feillu-a opened a new pull request, #952:
URL: https://github.com/apache/apisix-helm-chart/pull/952

   ## What this PR does
   
   Adds an optional `livenessProbe` configuration to the APISIX chart.
   
   Currently, only a `readinessProbe` (TCP on :9080) is configured. Without a
   `livenessProbe`, a frozen APISIX process (no crash, but unresponsive) will
   cause the pod to stay in `Not Ready` state indefinitely without ever being
   restarted by Kubernetes.
   
   ## Changes
   
   - `values.yaml`: add `livenessProbe` block with `enabled: false` by default
   - `templates/deployment.yaml`: inject the probe when enabled
   
   ## How to test
   ```yaml
   # values.yaml
   livenessProbe:
     enabled: true
   ```
   
   The pod should now be restarted automatically if APISIX stops responding on 
:9080.
   
   Closes #951


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to