From 693820604fbe1c57c8d80f51afa501776bf909c4 Mon Sep 17 00:00:00 2001 From: Christian Melendez Date: Wed, 15 Apr 2026 17:54:12 +0100 Subject: [PATCH 1/4] new: aperf plugin --- plugins/aperf.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 plugins/aperf.yaml diff --git a/plugins/aperf.yaml b/plugins/aperf.yaml new file mode 100644 index 00000000000..fba612eebce --- /dev/null +++ b/plugins/aperf.yaml @@ -0,0 +1,36 @@ +apiVersion: krew.googlecontainertools.github.com/v1alpha2 +kind: Plugin +metadata: + name: aperf +spec: + version: v1.2.2 + homepage: https://github.com/aws/aperf + shortDescription: Performance monitoring and debugging for Kubernetes + description: | + APerf is a CLI tool for performance monitoring and debugging. It records + a wide range of performance-related system metrics over a sampling period, + such as CPU utilization, memory availability, and PMU counters, and writes + them into an archive on disk. APerf processes collected archives, performs + analysis, and generates an interactive HTML report with analytical findings + and data visualizations. + caveats: | + Usage: + kubectl aperf --node=NODE_NAME [options] + + The plugin deploys a privileged pod on the target node to collect + performance data. Requires permissions to create pods in the target + namespace. + + For more information, visit: https://github.com/aws/aperf + platforms: + - selector: + matchExpressions: + - key: os + operator: In + values: ["darwin", "linux"] + uri: https://github.com/aws/aperf/releases/download/v1.2.2/kubectl-aperf-v1.2.2.tar.gz + sha256: 1262849aba55ddbe3a3aab4641a18d7379c79b40ff17af0894758e93f32290a8 + files: + - from: kubectl-aperf-v1.2.2/kubectl-aperf + to: . + bin: kubectl-aperf From c1443293a689f610e977f20fca1932a3b36cc8e1 Mon Sep 17 00:00:00 2001 From: Christian Melendez Date: Wed, 15 Apr 2026 18:07:12 +0100 Subject: [PATCH 2/4] fix: reduced the short description to meet the requirements --- plugins/aperf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aperf.yaml b/plugins/aperf.yaml index fba612eebce..62629a4ee07 100644 --- a/plugins/aperf.yaml +++ b/plugins/aperf.yaml @@ -5,7 +5,7 @@ metadata: spec: version: v1.2.2 homepage: https://github.com/aws/aperf - shortDescription: Performance monitoring and debugging for Kubernetes + shortDescription: Record and analyze performance metrics on nodes description: | APerf is a CLI tool for performance monitoring and debugging. It records a wide range of performance-related system metrics over a sampling period, From aa6fa1818bdf3daa95c519f46bf7df7cbce5a66e Mon Sep 17 00:00:00 2001 From: Christian Melendez Date: Thu, 14 May 2026 21:33:34 +0100 Subject: [PATCH 3/4] changed the file name reference --- plugins/aperf.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aperf.yaml b/plugins/aperf.yaml index 62629a4ee07..8ba444e682c 100644 --- a/plugins/aperf.yaml +++ b/plugins/aperf.yaml @@ -31,6 +31,6 @@ spec: uri: https://github.com/aws/aperf/releases/download/v1.2.2/kubectl-aperf-v1.2.2.tar.gz sha256: 1262849aba55ddbe3a3aab4641a18d7379c79b40ff17af0894758e93f32290a8 files: - - from: kubectl-aperf-v1.2.2/kubectl-aperf + - from: "*" to: . bin: kubectl-aperf From b3d6b65699d3a1b58f651b1873cef812186ecf13 Mon Sep 17 00:00:00 2001 From: Christian Melendez Date: Fri, 15 May 2026 11:01:01 +0100 Subject: [PATCH 4/4] fix: issues with the plugin path --- plugins/aperf.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/aperf.yaml b/plugins/aperf.yaml index 8ba444e682c..2600d9dc647 100644 --- a/plugins/aperf.yaml +++ b/plugins/aperf.yaml @@ -31,6 +31,8 @@ spec: uri: https://github.com/aws/aperf/releases/download/v1.2.2/kubectl-aperf-v1.2.2.tar.gz sha256: 1262849aba55ddbe3a3aab4641a18d7379c79b40ff17af0894758e93f32290a8 files: - - from: "*" + - from: "*/kubectl-aperf" + to: . + - from: "*/LICENSE" to: . bin: kubectl-aperf