1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-09 10:56:49 +00:00
gcloud-help/gcloud/beta/container/fleet/mesh/debug/proxy-config
2024-07-31 09:35:16 +00:00

95 lines
3.7 KiB
Text

NAME
gcloud beta container fleet mesh debug proxy-config - retrieve a
configuration summary for a given Envoy instance
SYNOPSIS
gcloud beta container fleet mesh debug proxy-config POD_NAME_NAMESPACE
--type=TYPE (--membership=MEMBERSHIP : --location=LOCATION)
[--fqdn=FQDN] [--output=OUTPUT] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Retrieve a configuration summary for a given Envoy instance.
EXAMPLES
To retrieve the type cluster config dump for Pod instance pn.default.
$gcloud beta container fleet mesh debug proxy-config pn.default --type=cluster
--project=projectId
--membership=membershipId
--location=us-central1
--ouput=yaml
POSITIONAL ARGUMENTS
POD_NAME_NAMESPACE
Pod to check against. Use in format of <pod-name[.Namespace]>
REQUIRED FLAGS
--type=TYPE
Proxy configuration type to retrieve.
bootstrap Retrieves bootstrap configuration for the Envoy in the specified pod
clusters/cluster Retrieves cluster configuration for the Envoy in the specified pod
endpoints/endpoint Retrieves endpoint configuration for the Envoy in the specified pod
listeners/listener Retrieves listener configuration for the Envoy in the specified pod
log Retrieves logging levels of the Envoy in the specified pod
routes/route Retrieves route configuration for the Envoy in the specified pod
secrets/secret Retrieves secret configuration for the Envoy in the specified pod
TYPE must be one of: bootstrap, cluster, clusters, endpoint, endpoints,
listener, listeners, log, route, routes, secret, secrets.
Membership resource - The group of arguments defining a membership. The
arguments in this group can be used to specify the attributes of this
resource. (NOTE) Some attributes are not given arguments in this group but
can be set in other ways.
To set the project attribute:
◆ provide the argument --membership on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the
membership.
To set the membership attribute:
▸ provide the argument --membership on the command line.
This flag argument must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
Location for the membership.
To set the location attribute:
▸ provide the argument --membership on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property gkehub/location.
OPTIONAL FLAGS
--fqdn=FQDN
Filter clusters by substring of Service FQDN field. If unspecified, all
clusters will be included in the output"
--output=OUTPUT
Return the detailed proxy config. The output format is either json or
yaml. OUTPUT must be one of: json, yaml.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud alpha container fleet mesh debug proxy-config