kubectl-evict

command module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

README

kubectl-evict

kubectl plugin to evict pods

Installation

Homebrew

brew install Ladicle/tap/kubectl-evict

Go

go install github.com/Ladicle/kubectl-evict@latest

Usage

> kubectl evict -h
Usage:
  evict <POD_NAME>... [flags]

Flags:
      --cascade string     Propagation policy for deleting the pod. Valid values are 'orphan', 'background' and 'foreground'. (default "background")
      --dry-run            Enable the dray-run option.
      --grace-period int   Period of time in seconds given to the pod to terminate gracefully. Ignored if negative. (default -1)
  -h, --help               help for evict
  -v, --version            version for evict

Use "kubectl options" for a list of global command-line options (applies to all commands).
Use via k9s

k9s-screenshot

Copy config/k9s/plugins/evict-pod.yaml settings to the $XDG_CONFIG_HOME/k9s/plugins.yaml file and restart k9s. You can then evict a pod by pressing Ctrl-v on the target pod.

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