another watch tool with visualization view of delta change for kubectl
bash
cargo install kubectl-watch --locked
Docker should be preinstalled, more installation details please visit official website.
copy the kubectl-watch script into your $PATH folder
bash
cp script/kubectl-watch /usr/local/bin/
watch deploy in all namespace
bash
kubectl-watch deployment -A
watch deploy on some namespace
bash
kubectl-watch deployment -n {your-namespace}
watch with delta view, just add --delta
arg.
bash
kubectl-watch deployment -n {your-namespace} --delta
run kubectl-watch -h
to get help msg.
```bash
kubectl-watch
USAGE: kubectl-watch [OPTIONS] [ARGS]
ARGS:
OPTIONS:
-A, --all If present, list the requested object(s) across all namespaces
-d, --delta Show delta changes view
-h, --help Print help information
-l, --selector
clone the project
git clone --recurse-submodules -j8 git@github.com:imuxin/kubectl-diff.git
git submodule update --init --recursive