kubectl-evict-pod icon indicating copy to clipboard operation
kubectl-evict-pod copied to clipboard

This plugin evicts the given pod and is useful for testing pod disruption budget rules

Results 5 kubectl-evict-pod issues
Sort by recently updated
recently updated
newest added

I am seeing below error on trying to evict the pod using the evict-pod plugin: ``` $ kubectl evict-pod podtest-67f995866b-2b46k -n pred-services Error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1" ```

Mergeable after https://github.com/rajatjindal/kubectl-evict-pod/pull/8. Fixes https://github.com/rajatjindal/kubectl-evict-pod/issues/7. This strips out a prefix of `pod/` if it exists in the request, before sending to the Kubernetes API. It overwrites the current value, but...

I wanted a way to quickly double check / demonstrate the functionality of pod disruption budgets, so I added functionality to specify labels as an argument, e.g.: `kubectl evict-pod --label...

Hi Rajat, Can you also mentioned the step to create the plugin. Thanks.

For conformity with other commands and compatibility with output of other commands, it would be useful if this plugin took pod arguments of the form `pod/my-pod-name`.