ISTIOCTL-ZTUNNEL-CONFIG-WORKLOAD(1)

πŸ“¦
version 1.31.3 Β· 2 versions
, in nixpkgs unstable

okay bestie, welcome to the iconic ISTIOCTL-ZTUNNEL-CONFIG-WORKLOAD(1) page β€” the one that’s all about istioctl-ztunnel-config-workload, and it’s lowkey here to hand you the workload config tea for a specified Ztunnel pod. πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

istioctl-ztunnel-config-workload β€” retrieves workload configuration for the specified Ztunnel pod. That’s the vibe: you’re asking for the workload config of a Ztunnel pod, and this command is the main character that fetches it. 🫢

✨ SYNOPSIS ✨

istioctl ztunnel-config workload [/][.] [flags]

Yes, the [/][.] bit is literally part of the synopsis, bestie β€” keep it exactly like that, no cap. πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

Retrieve information about workload configuration for the Ztunnel instance. It’s giving β€œshow me the workload config for this Ztunnel,” and honestly? Same. 🌸

πŸ’… OPTIONS πŸ’…

Okay, here’s the full flag lineup β€” every single one, no skips, fr fr. Keep the values literal, bestie; not me double-checking them so you don’t have to πŸ’€.

  • --address="" β€” filter workloads by the address field.
  • -f, --file="" β€” the Ztunnel config dump JSON file.
  • -h, --help[=false] β€” help for workload; yep, the [=false] notation is right there in the flag.
  • --node="" β€” filter workloads by the node field.
  • -o, --output="short" β€” output format: one of json|yaml|short; default is short.
  • --proxy-admin-port=15000 β€” the Ztunnel proxy admin port, 15000.
  • --workload-namespace="" β€” filter workloads by the namespace field.
  • --workload-node="" β€” filter workloads by node.
bestie, those flag values are literal β€” json|yaml|short, istio-system, 15s, 15000, all of it. No improvising. πŸ’…

🧬 OPTIONS INHERITED FROM PARENT COMMANDS 🧬

These came from the parent command and they still count here β€” inherited, not less important, periodt. πŸ‘‘

  • --as="" β€” username to impersonate for the operation. User could be a regular user or a service account in a namespace.
  • --as-group=[] β€” group to impersonate for the operation; this flag can be repeated to specify multiple groups.
  • --as-uid="" β€” UID to impersonate for the operation.
  • --context="" β€” Kubernetes configuration context.
  • -i, --istioNamespace="istio-system" β€” Istio system namespace.
  • --kubeclient-timeout="15s" β€” Kubernetes client timeout as a time.Duration string, defaults to 15 seconds.
  • -c, --kubeconfig="" β€” Kubernetes configuration file.
  • -n, --namespace="" β€” Kubernetes namespace.
  • --vklog=0 β€” number for the log level verbosity. Like -v flag. ex: --vklog=9.

🌈 EXAMPLE 🌈

Copy-paste energy only, bestie β€” here are the examples exactly as the page gives them: πŸ“

# Retrieve summary about workload configuration for a randomly chosen ztunnel.
istioctl ztunnel-config workload

# Retrieve summary of workloads on node XXXX for a given Ztunnel instance.
istioctl ztunnel-config workload <ztunnel-name[.namespace]> --node ambient-worker

# Retrieve full workload dump of workloads with address XXXX for a given Ztunnel instance.
istioctl ztunnel-config workload <ztunnel-name[.namespace]> --address 0.0.0.0 -o json

# Retrieve Ztunnel config dump separately and inspect from file.
kubectl exec -it $ZTUNNEL -n istio-system -- curl localhost:15000/config_dump > ztunnel-config.json
istioctl ztunnel-config workloads --file ztunnel-config.json

# Retrieve workload summary for a specific namespace
istioctl ztunnel-config workloads <ztunnel-name[.namespace]> --workload-namespace foo

# Retrieve workload info for a specific workload pod (auto-resolves to its ztunnel).
istioctl ztunnel-config workload <workload-pod-name[.namespace]>

πŸ‘‘ SEE ALSO πŸ‘‘


xoxo, bestie β€” this page was auto generated by spf13/cobra, dated Jan 1980 πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from