Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajeetraina opened this issue Jun 12, 2024 · 2 comments
Open

Comments

@ajeetraina
Copy link
Contributor

ajeetraina commented Jun 12, 2024

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.
@ajeetraina ajeetraina changed the title Krs scan doesn't work for tool installed using brew on Mac Krs scan doesn't work for tool installed using homebrew on Mac Jun 12, 2024
@abhimazu
Copy link
Contributor

K9s is not present in the json source

@ajeetraina
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants