Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Latest commit

 

History

History
50 lines (32 loc) · 1.24 KB

pupernetes_reset.md

File metadata and controls

50 lines (32 loc) · 1.24 KB

pupernetes reset

Reset the Kubernetes resources in the given namespace

Synopsis

Reset the Kubernetes resources in the given namespace

pupernetes reset [namespaces ...] [flags]

Examples


# Reset the default namespace:
pupernetes reset default

# Reset the kube-system namespace and redeploy the initial setup:
pupernetes reset kube-system --apply

# Reset the default and kube-system namespaces then redeploy the initial setup:
pupernetes reset default kube-system --apply

# Reset all namespaces and redeploy the initial setup:
pupernetes reset default $(kubectl get ns -o name) --apply

Options

      --api-address string        address for the pupernetes API ip:port (default "127.0.0.1:8989")
  -a, --apply                     apply manifests-api after reset, useful when resetting kube-system namespace
      --client-timeout duration   maximum time waited for a pupernetes command to be executed (default 1m0s)
  -h, --help                      help for reset

Options inherited from parent commands

  -v, --verbose int   verbose level (default 2)
      --version       display the version and exit 0

SEE ALSO

  • pupernetes - Use this command to manage a Kubernetes local environment