Skip to main content

Helm and Kubernetes Checks

Use these commands to inspect a DevOps Genie Agent installation.

Set variables

export DG_NAMESPACE=devopsgenie
export DG_RELEASE=dg-agent

Check release

helm status "$DG_RELEASE" --namespace "$DG_NAMESPACE"
helm get values "$DG_RELEASE" --namespace "$DG_NAMESPACE"

Check pods and deployments

kubectl get pods -n "$DG_NAMESPACE" -l app.kubernetes.io/instance="$DG_RELEASE"
kubectl get deploy -n "$DG_NAMESPACE" -l app.kubernetes.io/instance="$DG_RELEASE"

Check logs

kubectl logs -n "$DG_NAMESPACE" -l app.kubernetes.io/instance="$DG_RELEASE" --tail=100

Check Secrets exist

kubectl get secret dg-platform-agent -n "$DG_NAMESPACE"
kubectl get secret devopsgenie-pull-secret -n "$DG_NAMESPACE"

Secret names can differ if your values file uses custom names. Use helm get values to confirm the configured Secret references.