Skip to content

How do you do healthcheck to ApiSix deployment (liveness/readiness probes) #11970

Answered by dosubot bot
bokjo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @bokjo,

I'm here to help you with your ApiSix deployment question. I'm a bot that can assist you with bug fixes, answer questions, and guide you on how to become a contributor. Let me know how I can assist you!

Dosu

To perform a health check on an APISIX deployment using liveness/readiness probes, you can configure the probes in your Kubernetes deployment YAML file. The specific port and endpoint for the health check on the Gateway is port 9080 with the endpoint /healthz. Here is an example configuration:

apiVersion: v1
kind: Deployment
metadata:
  name: my-apisix-pod
spec:
  containers:
  - name: my-apisix-container
    image: my-apisix-image
    livenessProbe:
      httpGet:
        

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bokjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant