diff --git a/website/content/docs/k8s/connect/api-gateway.mdx b/website/content/docs/k8s/connect/api-gateway.mdx index a79953571..ec00cda18 100644 --- a/website/content/docs/k8s/connect/api-gateway.mdx +++ b/website/content/docs/k8s/connect/api-gateway.mdx @@ -71,19 +71,19 @@ $ ./consul-api-gateway server The following options are supported: -| Option | Description | Required | Default | -| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | ----------------------------------------------------------------------- | ------ | -| `-ca-file` | String value that specifies the path to the CA for the Consul server. | Required | none | -| `-ca-secret` | String value that specifies the CA secret for the Consul server. | Required | none | -| `-ca-secret-namespace` | String value that specifies the CA secret namespace for the Consul server. | Required | none | -| `-k8-context` | String value that specifies the Kubernetes context to use when starting the Consul server. | Optional | current context | -| `-k8-namespace` | String value that specifies the Kubernetes namespace to use when starting the Consul server. | Optional | `default` | -| `-log-json` | Boolean value that enables or disables JSON format for the log output. | Required | `false` | -| `-log-level` | String value that specifies the logging level. The following values are supported:
- `trace` (highest level of detail)
- `debug`
- `info`
- `warn`
- `error` | context to use when starting the Consul server. | Required | `info` | -| `-metrics-port` | Integer value that specifies the port number for collecting metrics. | Optional | none | -| `-pprof` | Integer value that specifies the Go pprof port number for collecting metrics. | Optional | none | -| `-sds-server-host` | String value that specifies the host server for the secret discovery service (SDS). | Optional | `consul-api-gateway-controller.default.`
`svc.cluster.`
`local` | -| `-sds-server-host` | Integer value that specifies the port number for the secret discovery service (SDS). | Optional | `9090` | +| Option | Description | Required | Default | +| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------- | +| `-ca-file` | String value that specifies the path to the CA for the Consul server. | Required | none | +| `-ca-secret` | String value that specifies the CA secret for the Consul server. | Required | none | +| `-ca-secret-namespace` | String value that specifies the CA secret namespace for the Consul server. | Required | none | +| `-k8-context` | String value that specifies the Kubernetes context to use when starting the Consul server. | Optional | current context | +| `-k8-namespace` | String value that specifies the Kubernetes namespace to use when starting the Consul server. | Optional | `default` | +| `-log-json` | Boolean value that enables or disables JSON format for the log output. | Required | `false` | +| `-log-level` | String value that specifies the logging level. The following values are supported:
- `trace` (highest level of detail)
- `debug`
- `info`
- `warn`
- `error` | Optional | `info` | +| `-metrics-port` | Integer value that specifies the port number for collecting metrics. | Optional | none | +| `-pprof` | Integer value that specifies the Go pprof port number for collecting metrics. | Optional | none | +| `-sds-server-host` | String value that specifies the host server for the secret discovery service (SDS). | Optional | `consul-api-gateway-controller.default.`
`svc.cluster.`
`local` | +| `-sds-server-host` | Integer value that specifies the port number for the secret discovery service (SDS). | Optional | `9090` | You can also issue the `version` command to print the Consul API Gateway version to the console: