istioctl ztunnel-config endpoints
Reference for the istioctl ztunnel-config endpoints command.
istioctl ztunnel-config endpoints
Retrieve endpoints for a service from the specified ztunnel pod.
Synopsis
Retrieve information about endpoints for a specific service from the ztunnel instance. This can help you verify your multicluster ambient mesh setup, such as viewing remote endpoints for global services. Requires either the ‘–service’ or ‘–hostname’ flag.
istioctl ztunnel-config endpoints [<ztunnel-name[.namespace]>] [flags]Examples
# Retrieve endpoints for a service from a randomly chosen ztunnel.
istioctl zc endpoints --service my-service
# Retrieve endpoints using --service flag with namespace.
istioctl zc endpoints --service my-service --service-namespace default
# Retrieve endpoints using --hostname flag.
istioctl zc endpoints --hostname my-service.default.svc.cluster.local
# Retrieve full endpoints dump for a service from a given ztunnel instance.
istioctl zc endpoints --service my-service <ztunnel-name[.namespace]> -o jsonOptions
-f, --file string Ztunnel config dump JSON file
-h, --help help for endpoints
--hostname string Service hostname (required if --service is not specified)
--node string Filter workloads by node field
-o, --output string Output format: one of json|yaml|short (default "short")
--proxy-admin-port int Ztunnel proxy admin port (default 15000)
--service string Service name (required if --hostname is not specified)
--service-namespace string Filter services by namespace (optional)Options inherited from parent commands
--as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace
--as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--as-uid string UID to impersonate for the operation.
--context string Kubernetes configuration context
-i, --istioNamespace string Istio system namespace (default "istio-system")
--kubeclient-timeout string Kubernetes client timeout as a time.Duration string, defaults to 15 seconds. (default "15s")
-c, --kubeconfig string Kubernetes configuration file
-n, --namespace string Kubernetes namespace
--out string output directory (default "/tmp/istioctl-cli-docs/1.30")