-
Notifications
You must be signed in to change notification settings - Fork 157
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
KubeClarity installation using Helm fails | grype-server pod CrashLoopBackOff status #377
Comments
Hi @sprathod369 thanks for reporting the issue.
|
Thanks @FrimIdan - here are the logs While using grype standalone in the past, I had observed a similar ad-hoc issue with database update. My pipeline works (if I'm lucky) but the same pipeline fails multiple times due to the database download issue. There are already some open issues wrt vulnerability database download and updates reported in Grype GitHub. I'm able to curl https://toolbox-data.anchore.io/grype/databases/listing.json from my Ubuntu VM so I doubt if this is getting blocked by firewall on my end. |
Unless I'm missing something, I've commented on a reported issue in Grype community #310 issues as even the latest version of Kubeclarity (v2.18.1) setup fails using the default as-is values.yaml. Below are my K8s logs.
How do I check what Grype image version is in use by the Kubeclarity v2.18.1? |
You can see in the go.mod of the grype server repo, current grype version is v0.61.0 BTW - I've tested the latest version and it works fine on my env, it might be something with your outbound network configuration, are you running behind a proxy or something? |
What happened:
KubeClarity installation using Helm fails after following the steps outlined at https://github.com/openclarity/kubeclarity#install-using-helm
What you expected to happen:
All pods are expected to up and running. KubeClarity UI should be accessible after port forwarding
How to reproduce it (as minimally and precisely as possible):
Save KubeClarity default chart values
No changes made to default "value.yaml"
Deploy KubeClarity with Helm
Are there any error messages in KubeClarity logs?
(e.g.
kubectl logs -n kubeclarity --selector=app=kubeclarity
)Seems Readiness probe fails for grype-server pod. Please see the logs below
Anything else we need to know?:
Environment:
Kubernetes version (use
kubectl version --short
):Client Version: v1.26.1, Kustomize Version: v4.5.7, Server Version: v1.25.3
Helm version (use
helm version
):v3.11.1
KubeClarity version (use
kubectl -n kubeclarity exec deploy/kubeclarity -- ./backend version
)KubeClarity Helm Chart version (use
helm -n kubeclarity list
)NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
kubeclarity kubeclarity 1 2023-03-24 14:20:03.624246496 +0530 IST deployed kubeclarity-v2.14.0 v2.14.0
Cloud provider or hardware configuration:
On-prem, Ubuntu 20x
Others:
The text was updated successfully, but these errors were encountered: