- 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-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 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.
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.
-
provide the argument
--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
.
-
provide the argument
-
provide the argument
- 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 hub mesh debug proxy-config
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-30 UTC.