LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubectl-annotate

adds or updates annotations on Kubernetes resources

TLDR

Add annotation to resource
$ kubectl annotate [pod/mypod] [key]=[value]
copy
Remove annotation
$ kubectl annotate [pod/mypod] [key]-
copy
Overwrite existing annotation
$ kubectl annotate --overwrite [pod/mypod] [key]=[newvalue]
copy
Annotate all pods in namespace
$ kubectl annotate pods --all [key]=[value]
copy

SYNOPSIS

kubectl annotate [type/name] key=value [options]

DESCRIPTION

kubectl annotate adds or updates annotations on Kubernetes resources. Annotations are key-value pairs for storing metadata. Unlike labels, annotations are not used for selection but for tools and libraries.

PARAMETERS

--overwrite

Allow overwriting existing annotations.
--all
Select all resources of specified type.
--selector selector
Label selector for filtering.
-n, --namespace name
Kubernetes namespace.

INSTALL

sudo apt install kubectl
copy
sudo pacman -S kubectl
copy
sudo apk add kubectl
copy
brew install kubectl
copy
nix profile install nixpkgs#kubectl
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid