From f6383dfa3da9efb6127ba51037703a66c93d4120 Mon Sep 17 00:00:00 2001 From: Martin Montes Date: Sat, 3 May 2025 15:53:14 +0200 Subject: [PATCH] Resource recommendation plugin enhancements (#3306) * Update resource-recommendations plugin to support namespaces * Added cronjobs to resource-recommendations plugin --- plugins/resource-recommendations.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/plugins/resource-recommendations.yaml b/plugins/resource-recommendations.yaml index b85518f6..ba1f8351 100644 --- a/plugins/resource-recommendations.yaml +++ b/plugins/resource-recommendations.yaml @@ -11,6 +11,7 @@ plugins: - deployments - daemonsets - statefulsets + - cronjobs command: bash background: false confirm: false @@ -25,4 +26,23 @@ plugins: if [[ $k = q ]] ; then break fi + done + krr-ns: + shortCut: Shift-K + description: Get krr + scopes: + - namespaces + command: bash + background: false + confirm: false + args: + - -c + - | + krr simple --cluster $CONTEXT -n $RESOURCE_NAME + echo "Press 'q' to exit" + while : ; do + read -n 1 k <&1 + if [[ $k = q ]] ; then + break + fi done \ No newline at end of file