LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kubectl-diff

shows differences between the current live configuration and the proposed

TLDR

Show diff against live configuration
$ kubectl diff -f [manifest.yaml]
copy
Diff entire directory
$ kubectl diff -f [manifests/]
copy
Diff from stdin
$ cat [manifest.yaml] | kubectl diff -f -
copy

SYNOPSIS

kubectl diff [options]

DESCRIPTION

kubectl diff shows differences between the current live configuration and the proposed configuration in a file. Useful for previewing changes before applying them. Uses server-side dry run to compute the diff.

PARAMETERS

-f, --filename file

File containing configuration to diff.
-R, --recursive
Process directory recursively.
-l, --selector selector
Label selector for filtering.

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