Check APISIX health
APISIX process health via control plane API
curl -s http://apisix:9080/apisix/status | jq .
- tool
- apisix16 commands
- tags
- apisixmonitoring
More apisix commands
-
kubectl get pods -n ingress-apisixCheck APISIX pods are running in Kubernetes
-
curl http://apisix-admin:9180/apisix/admin/routes -H "X-API-KEY: $ADMIN_KEY"List all configured APISIX routes
-
curl -X PUT http://apisix-admin:9180/apisix/admin/routes/1 -H "X-API-KEY: $ADMIN_KEY" -d '{"uri":"/api/*","upstream":{"nodes":{"backend:8080":1},"type":"roundrobin"}}'Create a simple route with roundrobin upstream
-
curl -X PATCH http://apisix-admin:9180/apisix/admin/routes/1 -H "X-API-KEY: $ADMIN_KEY" -d '{"plugins":{"limit-req":{"rate":100,"burst":50,"key":"remote_addr"}}}'Add rate-limiting plugin to an existing route
-
curl http://apisix-admin:9180/apisix/admin/upstreams -H "X-API-KEY: $ADMIN_KEY"List all configured APISIX upstreams