Skip to content

Commit

Permalink
Update CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianrbz committed Dec 4, 2024
1 parent 5e6c6fc commit 9417f5a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions app/_src/gateway/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,19 @@ The available commands are:
seconds).
default: 60
{% if_version gte:3.9.x %}
profiling memory-analyzer <start|status>
Trigger memory analyzer and generate
memory profiling data.
--timeout (optional number) Timeout for memory analyzer in seconds.
Default is 120 seconds.
--pid (optional number) Specific worker process ID to analyze.
If not provided, the current worker
process will be used.
{% endif_version %}
log_level get Get the logging level.
{% if_version gte:3.8.x %}
status Get the status of the Kong node.
Expand Down Expand Up @@ -176,6 +189,28 @@ EXIT CODES
```
{% endif_version %}

{% if_version gte:3.9.x %}
---


### kong drain

```
Usage: kong drain [OPTIONS]
Make status listeners(`/status/ready`) return 503 Service Unavailable.
Example usage:
kong drain
Options:
-c,--conf (optional string) configuration file
-p,--prefix (optional string) override prefix directory
```

{% endif_version %}

---


Expand Down

0 comments on commit 9417f5a

Please sign in to comment.