Skip to content

myks inspect envs

Inspect environments
Usage:
myks inspect envs [env-selector] [flags]
Arguments:
env-selector (Optional) Comma-separated list of environments or ALL
When omitted, all environments are processed.
ALL will also process all environments.
Examples: ALL
prod,stage,dev
prod/region1,stage/region1
dev
Flags:
-a, --async int sets the number of applications to be processed in parallel
the default (0) is no limit
--buffer-plugin-output buffer plugin output instead of streaming (useful for parallel execution)
--config string config file (default is the first .myks.yaml up the directory tree)
--data-values include final resolved ytt data values
-h, --help help for envs
-l, --log-level string set the logging level (default "info")
-o, --output string output format: "text" or "json" (default "text")
--print-stats print tool resource statistics directly to stdout
--smart-mode.base-revision string base revision to compare against in Smart Mode
if not provided, only local changes will be considered
--smart-mode.only-print string[="text"] only print the list of environments and applications that would be rendered in Smart Mode
accepted values: "text" (default), "json"
legacy boolean values (true, 1, yes) are treated as "text" for backward compatibility
legacy falsey values (false, 0, no) disable Smart Mode only-print (same as leaving it empty)
when used without a value (--smart-mode.only-print), defaults to "text"
Examples:
# Inspect all environments
myks inspect envs
# Inspect specific environments
myks inspect envs prod,stage
# Inspect all environments explicitly
myks inspect envs ALL