Downscale all deployments, statefulsets, and daemonsets in a namespace to 0 replicas and back to their previous state. Useful when you need to tear everything down and bring it back in a namespace.
notice: szero formula will no longer be available. Use the cask instead.
brew tap jadolg/homebrew-tap
brew install --cask szerowget -O - https://deb.akiel.dev/gpg.pub.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/akiel.gpg > /dev/null
sudo apt-add-repository deb "https://deb.akiel.dev/ all main"
sudo apt update
sudo apt install szeronote: When installing with krew, szero will only be available under kubectl szero.
kubectl krew install szerogo install github.com/jadolg/szero/cmd/szero@latestOr just download the desired one from releases and place it within your $PATH.
szero down -n <namespace> -n <another_namespace>szero down --namespace <namespace> --skip-statefulsets --skip-daemonsetsszero up -n <namespace> -n <another_namespace>szero down -n <namespace> --kubeconfig <path_to_kubeconfig>szero down -n <namespace> --context <context_name>Command line completions are available under the completions subcommand.
For example, to enable bash completions, run:
source <(szero completion bash)Using k9s? You can use szero from within k9s as a plugin. To install copy the contents of the k9s-plugins.yaml file into your plugins file.