Skip to content

kx annotations

Shows every annotation on one or more indexed resources, one table per resource.

Usage

kx annotations [OPTIONS] <index>...

Arguments

ArgumentDescription
<index>...Row number from the current listing, @name for a mark, or kind/name such as deploy/api

Options

OptionDescription
--context stringKubeconfig context of a kind/name target; defaults to the current one. An index carries its own
-n, --namespace stringNamespace of a kind/name target; defaults to the current namespace. An index carries its own

Global options

OptionDescription
--no-colorDisable styled output
-h, --helpShow this message and exit

Examples

kx annotations 1
kx annotations 1 2 3
kx annotations 1..3
kx annotations 3..
kx annotations deploy/api -n prod