ISTIOCTL-TAG-SET(1)
π istioctl-tag-set β bestie edition π
okay so this is the istioctl-tag-set(1) page, and honestly? it's giving "small command, big main character energy." we're talking revision tags for Istio control plane revisions. let's go β¨
πΈ NAME πΈ
istioctl-tag-set β create or modify revision tags π·οΈ
β¨ SYNOPSIS β¨
istioctl tag set [flags]
that's it. that's the whole vibe. flags are where the fun lives, keep reading π«Ά
π¦ DESCRIPTION π¦
So what does this actually do? It creates or modifies revision tags, periodt. You tag an Istio control plane revision so you can use it with namespace istio.io/rev injection labels. That's the whole thing β you're basically giving a revision a cute little nickname the rest of the cluster can point at π
π OPTIONS π
okay this is the part you actually need, so pay attention bestie π
--auto-inject-namespaces[=false]β if you set this totrue, sidecars get automatically injected into all namespaces by default. big power move, use wisely π-h,--help[=false]β help forset. the classic. the icon.-d,--manifests=""β point this at a directory of charts and profiles (like~/Downloads/istio-1.31.3/manifests). a literal path, not a vibe.--overwrite[=false]β iftrue, you're allowed to overwrite revision tags. otherwise? revision tag updates that would overwrite existing revision tags get straight-up rejected. no cap, it will say no π«-r,--revision=""β the control plane revision you want to reference from a given revision tag.-y,--skip-confirmation[=false]β this one's theskipConfirmationdeal: it decides whether the user gets prompted for confirmation. set it totrueand you're not prompted at all β a Yes response is just assumed in all cases. zero follow-up questions, so good π--webhook-name=""β the name to use for a revision tag's mutating webhook configuration.
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
these come from the parent, so you didn't have to do anything to get them. freebies π
--as=""β username to impersonate for the operation. 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. collect them all π--as-uid=""β UID to impersonate for the operation.--context=""β Kubernetes configuration context.-i,--istioNamespace="istio-system"β the Istio system namespace. default isistio-system, the og.--kubeclient-timeout="15s"β Kubernetes client timeout as atime.Durationstring, defaults to 15 seconds. 15s of patience, then we're done waiting β±οΈ-c,--kubeconfig=""β Kubernetes configuration file.-n,--namespace=""β Kubernetes namespace.--vklog=0β number for the log level verbosity. it works like the-vflag. example:--vklog=9. yes, nine. go off π₯
π EXAMPLE π
real examples, copy these exactly, do not freestyle:
# Create a revision tag from the "1-8-0" revision
istioctl tag set prod --revision 1-8-0
# Point namespace "test-ns" at the revision pointed to by the "prod" revision tag
kubectl label ns test-ns istio.io/rev=prod
# Change the revision tag to reference the "1-8-1" revision
istioctl tag set prod --revision 1-8-1 --overwrite
# Make revision "1-8-1" the default revision, both resulting in that revision handling injection for "istio-injection=enabled"
# and validating resources cluster-wide
istioctl tag set default --revision 1-8-1
# Rollout namespace "test-ns" to update workloads to the "1-8-1" revision
kubectl rollout restart deployments -n test-ns
see how the first one needs no --overwrite but the second one does? that's the whole point of --overwrite, slay π
π SEE ALSO π
istioctl-tag(1)β go read the parent, it's the whole family tree π³
lowkey important reminder: if you're pointing at a revision tag that already exists, --overwrite is the difference between "yes queen" and "absolutely not" π«Ά
and that's the page! it was Auto generated by spf13/cobra, dated Jan 1980 (yes, the date is a whole time capsule, don't ask π), and it's the istioctl-tag-set manual, section 1. now go tag something iconic πβ¨
π¦ where this page comes from
- nixpkgs unstable: istioctl 1.31.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms