forked from postfinance/kuota-calc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.krew.yaml
35 lines (35 loc) · 1.38 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
33
34
35
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: kuota-calc
spec:
version: {{ .TagName }}
homepage: https://github.com/druppelt/kuota-calc
shortDescription: Calculate needed quota to perform rolling updates.
description: |
This plugin calculates the maximum needed resource quota for you. The deployment
strategy, replicas and all containers are taken into account to calculate the
resources needed in order to be able to perform a rolling update and still have
enough resource quota.
caveats: |
* Currently kuota-calc supports apps/v1.Deployment, apps/v1.StatefulSet,
apps/v1.DaemonSet, batch/v1.CronJob, batch/v1.Job and v1.Pod resources
platforms:
- selector:
matchLabels:
os: darwin
arch: amd64
{{ addURIAndSha "https://github.com/druppelt/kuota-calc/releases/download/{{ .TagName }}/kuota-calc_darwin_x86_64.zip" .TagName }}
bin: kuota-calc
- selector:
matchLabels:
os: linux
arch: amd64
{{ addURIAndSha "https://github.com/druppelt/kuota-calc/releases/download/{{ .TagName }}/kuota-calc_linux_x86_64.zip" .TagName }}
bin: kuota-calc
- selector:
matchLabels:
os: windows
arch: amd64
{{ addURIAndSha "https://github.com/druppelt/kuota-calc/releases/download/{{ .TagName }}/kuota-calc_windows_x86_64.zip" .TagName }}
bin: kuota-calc.exe