Reload APISIX config
Hot-reload APISIX configuration from etcd
curl -X PUT http://apisix:9180/apisix/admin/configs/reload -H 'X-API-KEY: <key>'
- tool
- apisix16 commands
More apisix commands
-
curl -s http://apisix:9080/apisix/status | jq .APISIX process health via control plane API
-
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