diff --git a/assets/agw-docs/pages/operations/agctl-install.md b/assets/agw-docs/pages/operations/agctl-install.md index cdb6d05f7..4b29d2ac0 100644 --- a/assets/agw-docs/pages/operations/agctl-install.md +++ b/assets/agw-docs/pages/operations/agctl-install.md @@ -16,7 +16,8 @@ Install `agctl`, the command-line tool that you use to inspect and debug agentga | `agctl costs` | Manage the model cost catalogs that price LLM requests, including importing catalog data from supported pricing sources. |{{< /version >}}{{< version exclude-if="1.3.x,1.2.x,1.1.x,1.0.x,2.2.x" >}} | `agctl catalog` | Manage the model catalogs that price LLM requests, including importing catalog data from supported pricing sources. |{{< /version >}}{{< version exclude-if="1.3.x,1.2.x,1.1.x,1.0.x,2.2.x" >}} | `agctl migrate` | Migrate agentgateway resources to newer configurations. |{{< /version >}} -| `agctl version` | Print version information for the `agctl` CLI. | +| `agctl version` | Print version information for the `agctl` CLI. |{{< version include-if="main" >}}{{< conditional-text include-if="kubernetes" >}} +| `agctl bug-report` | Collect agentgateway resources, logs, and metrics from your cluster into an archive that you can attach to a bug report. Secret values are redacted. |{{< /conditional-text >}}{{< /version >}} | `agctl completion` | Turn on autocompletion for your shell in `bash`, `zsh`, `fish`, or `powershell`. | For a complete list of subcommands and flags, see the [`agctl` CLI reference]({{< link-hextra path="/reference/agctl/" >}}). diff --git a/assets/agw-docs/pages/reference/agctl/main/agctl-bug-report.md b/assets/agw-docs/pages/reference/agctl/main/agctl-bug-report.md new file mode 100644 index 000000000..04a582aaf --- /dev/null +++ b/assets/agw-docs/pages/reference/agctl/main/agctl-bug-report.md @@ -0,0 +1,46 @@ +Collect agentgateway resources, logs, and metrics into an archive + +### Synopsis + +Collect agentgateway resources, logs, and metrics into an archive for bug reports. + +Captured resources are all Gateway API resources, and all resources with a category containing +"agentgateway". Services, ConfigMaps, Secrets, and Events are captured from every namespace holding one of +those resources, or the controller. Secret values are redacted. + +Logs and metrics are captured from agentgateway proxy pods and all pods in the controller namespace. + +``` +agctl bug-report [flags] +``` + +### Examples + +``` +agctl bug-report +agctl bug-report -n team-a -n team-b --since 1h +agctl bug-report --config-dump -o /tmp/report.tar.gz +``` + +### Options + +``` + --config-dump Capture /config_dump from each proxy + -h, --help help for bug-report + -n, --namespace strings Only capture namespaced resources and proxies in these namespaces. The controller namespace is always captured. + -o, --output string Output archive (default "bug-report.tar.gz") + --since duration Only capture logs newer than this duration (default 24h0m0s) + --tail int Maximum log lines per container; 0 for no limit (default 5000) + --timeout duration Deadline for the whole collection; anything collected before it is still written (default 5m0s) +``` + +### Options inherited from parent commands + +``` + -k, --kubeconfig string kubeconfig +``` + +### SEE ALSO + +* [agctl](../agctl/) - agctl controls and inspects Agentgateway resources + diff --git a/assets/agw-docs/pages/reference/agctl/main/agctl.md b/assets/agw-docs/pages/reference/agctl/main/agctl.md index 9002ad593..3e486cc4b 100644 --- a/assets/agw-docs/pages/reference/agctl/main/agctl.md +++ b/assets/agw-docs/pages/reference/agctl/main/agctl.md @@ -9,6 +9,7 @@ agctl controls and inspects Agentgateway resources ### SEE ALSO +* [agctl bug-report](agctl_bug-report.md) - Collect agentgateway resources, logs, and metrics into an archive * [agctl catalog](../agctl-catalog/) - Manage model catalogs * [agctl controller](../agctl-controller/) - Inspect and manage the agentgateway controller * [agctl migrate](../agctl-migrate/) - Migrate agentgateway resources to newer configurations diff --git a/assets/agw-docs/pages/reference/api/main/agentgateway.dev_agentgatewaybackends.yaml.html b/assets/agw-docs/pages/reference/api/main/agentgateway.dev_agentgatewaybackends.yaml.html index 02b8d8bbe..d3dc48c50 100644 --- a/assets/agw-docs/pages/reference/api/main/agentgateway.dev_agentgatewaybackends.yaml.html +++ b/assets/agw-docs/pages/reference/api/main/agentgateway.dev_agentgatewaybackends.yaml.html @@ -2761,22 +2761,22 @@
  • unhealthyConditionstring
  • -
  • http