ISTIOCTL-ZTUNNEL-CONFIG-POLICY(1)

πŸ“¦ version 1.31.3, in nixos 26.05, nixpkgs unstable

πŸ’… istioctl-ztunnel-config-policy β€” like, the ztunnel policy manual page, bestie

Okay so real talk: this is a page from the istioctl-ztunnel-config-policy manual (yes, the whole man page name is a mouthful, iykyk), and it's all about pulling up the policies for a specific Ztunnel pod. Let's get into it ✨


🌸 SYNOPSIS 🌸

istioctl ztunnel-config policy [flags]

That's the whole vibe. Command, subcommand, optional flags. Slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this retrieves information about the policies for the Ztunnel instance. That's it, that's the whole description β€” main character energy, minimal words. πŸŽ€


✨ OPTIONS ✨

  • -f, --file="" β€” point it at a Ztunnel config dump JSON file πŸ“
  • -h, --help[=false] β€” the help for policy, obviously
  • --node="" β€” filters workloads by the node field
  • -o, --output="short" β€” the output format, and it's gotta be one of json|yaml|short (short is the default, no cap)
  • --policy-namespace="" β€” filters policies by the namespace field
  • --proxy-admin-port=15000 β€” the Ztunnel proxy admin port, defaults to 15000

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

These ones come from the parent command, so they're giving ✨ borrowed but still iconic ✨:

  • --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 🌈

Here's how you actually use it, bestie πŸ’–

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

  # Retrieve full policy dump of workloads for a given Ztunnel instance.
  istioctl ztunnel-config policies <ztunnel-name[.namespace]> -o json
Notice the examples say policies while the synopsis says policy β€” I'm not gonna fix it, I'm just gonna report it, periodt. πŸ™ˆ

🫢 SEE ALSO 🫢


Auto generated by spf13/cobra, and dated Jan 1980 β€” yes, the robot wrote this and the timestamp is lowkey from another era πŸ’€. Anyway, that's the whole page, hope it ate, mwah πŸ’œπŸŽ€


okay bye bestie, go filter some policies πŸ¦‹β­

πŸ“¦ where this page comes from