-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.krew.yaml
32 lines (32 loc) · 1.29 KB
/
.krew.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: evict-pod
spec:
version: {{ .TagName }}
homepage: https://github.com/rajatjindal/kubectl-evict-pod
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/rajatjindal/kubectl-evict-pod/releases/download/{{ .TagName }}/kubectl-evict-pod_{{ .TagName }}_darwin_amd64.tar.gz" .TagName }}
bin: kubectl-evict-pod
- selector:
matchLabels:
os: darwin
arch: arm64
{{addURIAndSha "https://github.com/rajatjindal/kubectl-evict-pod/releases/download/{{ .TagName }}/kubectl-evict-pod_{{ .TagName }}_darwin_arm64.tar.gz" .TagName }}
bin: kubectl-evict-pod
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/rajatjindal/kubectl-evict-pod/releases/download/{{ .TagName }}/kubectl-evict-pod_{{ .TagName }}_linux_amd64.tar.gz" .TagName }}
bin: kubectl-evict-pod
shortDescription: Evicts the given pod
description: |
Usage:
kubectl evict-pod <pod-name> -n <namespace-name>
This plugin evicts the given pod. This is particularly useful for testing pod disruption budget rules.
Read more documentation at: https://github.com/rajatjindal/kubectl-evict-pod