szero

command module
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 16 Imported by: 0

README

Temporarily scale down all deployments in a namespace

What it does

Downscale all deployments 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.

Usage
Downscale all deployments in a namespace to 0 replicas:
szero down -n <namespace> -n <another_namespace>
Upscale all deployments in a namespace to their previous state:
szero up -n <namespace> -n <another_namespace>
Restart all deployments in a namespace
szero restart -n <namespace> -n <another_namespace>
Use a different kubeconfig file
szero down -n <namespace> --kubeconfig <path_to_kubeconfig>
Use a different context
szero down -n <namespace> --context <context_name>

Completions

Command line completions are available under the completions subcommand. For example, to enable bash completions, run:

source <(szero completion bash)

k9s plugins

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL