ISTIOCTL-ANALYZE(1)
π ISTIOCTL-ANALYZE(1) β istioctl-analyze
Bestie, this is the ISTIOCTL-ANALYZE(1) page from the istioctl manual. It's giving config-validation main character energy, and we're about to spill all the flag tea. π
πΈ NAME
istioctl-analyze β Analyze Istio configuration and print validation messages. No cap, that's the whole name.
β¨ SYNOPSIS
istioctl analyze ... [flags]
π¦ DESCRIPTION
Okay so istioctl analyze literally analyzes Istio configuration and prints validation messages. Obsessed. For more information about message codes, refer to: https://istio.io/v1.31/docs/reference/config/analysis.
π OPTIONS
Here's the full menu, bestie β every flag, every default, no skips. π
-A,--all-namespaces[=false]β Analyze all namespaces. Every namespace gets the vibe check.--analyzer=[]β Select specific analyzers to run. Can be repeated. If not specified, all analyzers are run. Example vibe:istioctl analyze --analyzer "gateway.ConflictingGatewayAnalyzer".--color[=true]β Defaulttrue. Disable with=falseor set$TERMtodumb. π--failure-threshold=Errorβ The severity level of analysis at which to set a non-zero exit code. Valid values:[Info Warning Error].-h,--help[=false]β help for analyze. Your little rescue button.--ignore-unknown[=false]β Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.-L,--list-analyzers[=false]β List the analyzers available to run. Suppresses normal execution. Show me the lineup.--meshConfigFile=""β Overrides the mesh config values to use for analysis.-o,--output="log"β Output format: one of[log json yaml].--output-threshold=Infoβ The severity level of analysis at which to display messages. Valid values:[Info Warning Error].-R,--recursive[=false]β > Removed flag alert:[Removed: The recursive flag has been removed and is hardcoded to true]. Process directory arguments recursively.--remote-contexts=[]β Kubernetes configuration contexts for remote clusters to be used in multi-cluster analysis. Not to be confused with'--context'. If unspecified, contexts are read from the remote secrets in the cluster.-r,--revision="default"β analyze a specific revision deployed. Periodt.-S,--suppress=[]β Suppress reporting a message code on a specific resource. Values are supplied in the form=(e.g.'--suppress "IST0102=DestinationRule primary-dr.default"'). Can be repeated. You can include the wildcard character'*'to support a partial match (e.g.'--suppress "IST0102=DestinationRule *.default" ).).--timeout=30sβ The duration to wait before failing. Clock is ticking, bestie.-k,--use-kube[=true]β Use live Kubernetes cluster for analysis. Set--use-kube=falseto analyze files only.-v,--verbose[=false]β Enable verbose output.
π OPTIONS INHERITED FROM PARENT COMMANDS
These come from the parent command, so they're lowkey part of the family too. π«Ά
--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 atime.Durationstring, defaults to 15 seconds.-c,--kubeconfig=""β Kubernetes configuration file.-n,--namespace=""β Kubernetes namespace.--vklog=0β number for the log level verbosity. Like-vflag. ex:--vklog=9.
π₯ EXAMPLE
# Analyze the current live cluster
istioctl analyze
# Analyze the current live cluster for a specific revision
istioctl analyze --revision 1-16
# Analyze the current live cluster, simulating the effect of applying additional yaml files
istioctl analyze a.yaml b.yaml my-app-config/
# Analyze yaml files without connecting to a live cluster
istioctl analyze --use-kube=false a.yaml b.yaml my-app-config/
# Analyze the current live cluster and suppress PodMissingProxy for pod mypod in namespace 'testing'.
istioctl analyze -S "IST0103=Pod mypod.testing"
# Analyze the current live cluster and suppress PodMissingProxy for all pods in namespace 'testing',
# and suppress MisplacedAnnotation on deployment foobar in namespace default.
istioctl analyze -S "IST0103=Pod *.testing" -S "IST0107=Deployment foobar.default"
# List available analyzers
istioctl analyze -L
# Run specific analyzer
istioctl analyze --analyzer "gateway.ConflictingGatewayAnalyzer"
π SEE ALSO
This iconic page was auto generated by spf13/cobra, dated Jan 1980, and it's the ISTIOCTL-ANALYZE(1) manual page. Bye bestie, go analyze those configs! π
π¦ 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