kubetoolsca / krs

A GenAI-powered Kubetools Recommender System
https://kubetools.io
Apache License 2.0
85 stars 16 forks source link

Krs scan doesn't work for tool installed using homebrew on Mac #9

Open ajeetraina opened 3 months ago

ajeetraina commented 3 months ago

I am using a single-node Kubernetes cluster on my macbook that you enable within Docker Desktop. I installed the kubernetes tool using Helm Vs brew. Krs scan is capable of listing only Helm-based installation, but not brew.

Step 1. Install K9s using Homebrew

brew install derailed/k9s/k9s

Step 2. Install Karpenter using Helm

helm upgrade --install --namespace karpenter --create-namespace \
  karpenter oci://public.ecr.aws/karpenter/karpenter \
  --version 0.37.0 \
  --set "serviceAccount.annotations.eks\.amazonaws\.com/role-arn=${KARPENTER_IAM_ROLE_ARN}" \
  --set settings.clusterName=${CLUSTER_NAME} \
  --set settings.interruptionQueue=${CLUSTER_NAME} \
  --wait

I also installed Kubeview using Helm.

Sep 3. Run krs scan command

It only displays Helm-based installed Kubernetes tools.


+-------------+--------+-----------------------------+---------------+
| Tool Name   |   Rank | Category                    | CNCF Status   |
+=============+========+=============================+===============+
| karpenter   |      4 | Cluster with Core CLI tools | unlisted      |
+-------------+--------+-----------------------------+---------------+
| kubeview    |     30 | Cluster with Core CLI tools | unlisted      |
+-------------+--------+-----------------------------+---------------+
|             |      3 | Cluster Management          | unlisted      |
+-------------+--------+-----------------------------+---------------+

I was expecting K9s too in the list.
abhimazu commented 3 months ago

K9s is not present in the json source

ajeetraina commented 3 months ago

@abhimazu Let's get added if it is missing out. Cc @karanveersingh5623