gcloud beta container hub mesh debug proxy-config

NAME
gcloud beta container hub mesh debug proxy-config - retrieve a configuration summary for a given Envoy instance
SYNOPSIS
gcloud beta container hub mesh debug proxy-configPOD_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 hub 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.
bootstrapRetrievesbootstrapconfigurationfortheEnvoyinthespecifiedpodclusters/clusterRetrievesclusterconfigurationfortheEnvoyinthespecifiedpodendpoints/endpointRetrievesendpointconfigurationfortheEnvoyinthespecifiedpodlisteners/listenerRetrieveslistenerconfigurationfortheEnvoyinthespecifiedpodlogRetrieveslogginglevelsoftheEnvoyinthespecifiedpodroutes/routeRetrievesrouteconfigurationfortheEnvoyinthespecifiedpodsecrets/secretRetrievessecretconfigurationfortheEnvoyinthespecifiedpod

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. Thearguments 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 inother ways.

To set theproject attribute:

  • provide the argument--membership on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

--membership=MEMBERSHIP
ID of the membership or fully qualified identifier for the membership.

To set themembership attribute:

  • provide the argument--membership on the command line.

This flag argument must be specified if any of the other arguments in this groupare specified.

--location=LOCATION
Location for the membership.

To set thelocation attribute:

  • provide the argument--membership on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertygkehub/location.
OPTIONAL FLAGS
--fqdn=FQDN
Filter clusters by substring of Service FQDN field. If unspecified, all clusterswill 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 variantis also available:
gcloudalphacontainerhubmeshdebugproxy-config

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-22 UTC.