Aller au contenu

TrivyDown#

Alert is triggered when harbor_up metric is missing from Prometheus.

This alert either indicates that :

  • the pod Trivy is not in a running state in the kubernetes cluster
  • or the pod can't proceed request it receive.

Scope#

The scope of the alert is for Product Factory internal tooling.

Troubleshooting Hints#

Identify the cluster and check the status/logs of the pods.

Tip

   kubectl get pods -n harbor-svc-oci-registry-stg | grep trivy
   kubectl logs -n harbor-svc-oci-registry-stg -l app=harbor,component=trivy
   kubectl get pods -n harbor-svc-oci-registry-prd | grep harbor
   kubectl logs -n harbor-svc-oci-registry-prd -l app=harbor,component=trivy

Solutions Hints#

Restart the trivy pod and check the logs again.