From 227e2d9556871a3b0c4c45c073158e20f8f35761 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Thu, 31 Oct 2019 15:01:25 +0100 Subject: [PATCH 1/4] Add plugin view-allocations 0.4.0 --- plugins/view-allocations.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 plugins/view-allocations.yaml diff --git a/plugins/view-allocations.yaml b/plugins/view-allocations.yaml new file mode 100644 index 00000000000..aae2bf3ccf5 --- /dev/null +++ b/plugins/view-allocations.yaml @@ -0,0 +1,29 @@ +#see /~https://github.com/kubernetes-sigs/krew/blob/master/docs/DEVELOPER_GUIDE.md +apiVersion: krew.googlecontainertools.github.com/v1alpha2 +kind: Plugin +metadata: + name: view-allocations +spec: + version: "v0.4.0" # required, must be in semver format, prefixed with "v" + platforms: + - selector: + matchLabels: + os: darwin + arch: amd64 + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-apple-darwin.tar.gz + sha256: "b37c19d2b372b4a120582d33c1299d827f0c6324fce6548cbff35cffec1f2da3" + files: [{ from: "*", to: "." }] + bin: "./kubectl-view-allocations" # path to the plugin executable after copying files above + - selector: # a regular Kubernetes selector + matchLabels: + os: linux + arch: amd64 + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-unknown-linux-gnu.tar.gz + sha256: "97466fc77bc985bffe72f9c09b5aa9d0f2af4b184d1a20f46cd7bdfae2048a9d" + files: [{ from: "*", to: "." }] + bin: "./kubectl-view-allocations" # path to the plugin executable after copying files above + shortDescription: Prints the environment variables. + homepage: /~https://github.com/davidB/kubectl-view-allocations # optional, url for the project homepage + description: | + This plugin lists allocations (cpu, memory, gpu,... X requested, limit, allocatable,...). + try `kubectl view-allocations -h`, `kubectl view-allocations` From 0c49048cde6059a9ff91c9f96902fe8e8ed9e3b7 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Mon, 4 Nov 2019 23:14:02 -0800 Subject: [PATCH 2/4] Cleanup manifest of plugin view-allocations 0.4.0 --- plugins/view-allocations.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/plugins/view-allocations.yaml b/plugins/view-allocations.yaml index aae2bf3ccf5..1859d4646e7 100644 --- a/plugins/view-allocations.yaml +++ b/plugins/view-allocations.yaml @@ -1,10 +1,9 @@ -#see /~https://github.com/kubernetes-sigs/krew/blob/master/docs/DEVELOPER_GUIDE.md apiVersion: krew.googlecontainertools.github.com/v1alpha2 kind: Plugin metadata: name: view-allocations spec: - version: "v0.4.0" # required, must be in semver format, prefixed with "v" + version: "v0.4.0" platforms: - selector: matchLabels: @@ -12,18 +11,16 @@ spec: arch: amd64 uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-apple-darwin.tar.gz sha256: "b37c19d2b372b4a120582d33c1299d827f0c6324fce6548cbff35cffec1f2da3" - files: [{ from: "*", to: "." }] - bin: "./kubectl-view-allocations" # path to the plugin executable after copying files above - - selector: # a regular Kubernetes selector + bin: "./kubectl-view-allocations" + - selector: matchLabels: os: linux arch: amd64 uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-unknown-linux-gnu.tar.gz sha256: "97466fc77bc985bffe72f9c09b5aa9d0f2af4b184d1a20f46cd7bdfae2048a9d" - files: [{ from: "*", to: "." }] - bin: "./kubectl-view-allocations" # path to the plugin executable after copying files above - shortDescription: Prints the environment variables. - homepage: /~https://github.com/davidB/kubectl-view-allocations # optional, url for the project homepage + bin: "./kubectl-view-allocations" + shortDescription: List allocations per resources, nodes, pods. + homepage: /~https://github.com/davidB/kubectl-view-allocations description: | - This plugin lists allocations (cpu, memory, gpu,... X requested, limit, allocatable,...). + This plugin lists resources (cpu, memory, gpu,...) allocations (requested, limit, allocatable) as defined into the manifest of nodes and running pods. try `kubectl view-allocations -h`, `kubectl view-allocations` From 68a3e1d5df071bdfe2f6ff869bb8b57ae83387b9 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Sat, 16 Nov 2019 14:13:04 +0100 Subject: [PATCH 3/4] upgrade view-allocations to 0.5.0 --- plugins/view-allocations.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/view-allocations.yaml b/plugins/view-allocations.yaml index 1859d4646e7..4c7be8da1a5 100644 --- a/plugins/view-allocations.yaml +++ b/plugins/view-allocations.yaml @@ -3,21 +3,21 @@ kind: Plugin metadata: name: view-allocations spec: - version: "v0.4.0" + version: "v0.5.0" platforms: - selector: matchLabels: os: darwin arch: amd64 - uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-apple-darwin.tar.gz - sha256: "b37c19d2b372b4a120582d33c1299d827f0c6324fce6548cbff35cffec1f2da3" + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.0/kubectl-view-allocations_0.5.0-x86_64-apple-darwin.tar.gz + sha256: "fbb9f61139cbbdf1db93df239ccff3e06e0bc700403a99cde7ef44ee87de43b2" bin: "./kubectl-view-allocations" - selector: matchLabels: os: linux arch: amd64 - uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.4.0/kubectl-view-allocations_0.4.0-x86_64-unknown-linux-gnu.tar.gz - sha256: "97466fc77bc985bffe72f9c09b5aa9d0f2af4b184d1a20f46cd7bdfae2048a9d" + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.0/kubectl-view-allocations_0.5.0-x86_64-unknown-linux-gnu.tar.gz + sha256: "4ed97b539d2421044e6be9b73a91e8de2658437107297a3420442293f10de3ab" bin: "./kubectl-view-allocations" shortDescription: List allocations per resources, nodes, pods. homepage: /~https://github.com/davidB/kubectl-view-allocations From 062800fd57d6e832b79595a603f1a665c4a01f97 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Mon, 18 Nov 2019 22:32:20 +0100 Subject: [PATCH 4/4] upgrade view-allocations to 0.5.1 (with LICENSE.txt) --- plugins/view-allocations.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/view-allocations.yaml b/plugins/view-allocations.yaml index 4c7be8da1a5..354490bf9ad 100644 --- a/plugins/view-allocations.yaml +++ b/plugins/view-allocations.yaml @@ -3,24 +3,25 @@ kind: Plugin metadata: name: view-allocations spec: - version: "v0.5.0" + version: "v0.5.1" platforms: - selector: matchLabels: os: darwin arch: amd64 - uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.0/kubectl-view-allocations_0.5.0-x86_64-apple-darwin.tar.gz - sha256: "fbb9f61139cbbdf1db93df239ccff3e06e0bc700403a99cde7ef44ee87de43b2" + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.1/kubectl-view-allocations_0.5.1-x86_64-apple-darwin.tar.gz + sha256: "5c304f3c32d9275d300dbbd4d3920dab3993d6a9a3f2bbfaaa4444180f9b6787" bin: "./kubectl-view-allocations" - selector: matchLabels: os: linux arch: amd64 - uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.0/kubectl-view-allocations_0.5.0-x86_64-unknown-linux-gnu.tar.gz - sha256: "4ed97b539d2421044e6be9b73a91e8de2658437107297a3420442293f10de3ab" + uri: /~https://github.com/davidB/kubectl-view-allocations/releases/download/0.5.1/kubectl-view-allocations_0.5.1-x86_64-unknown-linux-gnu.tar.gz + sha256: "679d88be15abf24e2d0cf46443977871c9dacc399d2271be32ae35db0e095b84" bin: "./kubectl-view-allocations" shortDescription: List allocations per resources, nodes, pods. homepage: /~https://github.com/davidB/kubectl-view-allocations description: | - This plugin lists resources (cpu, memory, gpu,...) allocations (requested, limit, allocatable) as defined into the manifest of nodes and running pods. + This plugin lists resources (cpu, memory, gpu,...) allocations (requested, + limit, allocatable) as defined into the manifest of nodes and running pods. try `kubectl view-allocations -h`, `kubectl view-allocations`