helm-charts

🛠️ Troubleshooting EnkryptAI Deployment

This guide provides step-by-step instructions for resolving common issues encountered during the installation and operation of the EnkryptAI and Platform Helm charts.

1. Rerun Redteam Jobs Using Argo Workflows Dashboard

To rerun any Redteaming jobs:

  1. Port-forward the Argo server to your local machine:
    kubectl -n enkryptai-stack port-forward svc/argo-server 2746:2746
    
  2. Open the dashboard in your browser: http://localhost:2746
  3. Locate the workflow corresponding to the Redteam job.
  4. Click Rerun or Resubmit to execute the job again.

2. Artifacts for Redteam Jobs

Artifacts generated by Redteam jobs can be accessed via Supabase:

  1. Check Supabase storage to view and download artifacts.
  2. Access Supabase using the ingress:

    auth.<domain.com>
    
    • Dashboard credentials are stored in onprem secrets with the following keys:

      • DASHBOARD_USERNAME
      • DASHBOARD_PASSWORD

3. Helm Installation Failed for Platform Stack

If Helm installation fails for the platform-stack:

helm upgrade --install platform enkryptai/platform-stack -n enkryptai-stack -f values.yaml --timeout 15m

5. Helm Installation Failed for EnkryptAI Stack

For enkryptai-stack Helm installation failures:

6. Health Check for EnkryptAI Applications

To verify the status of deployed EnkryptAI applications:

kubectl get pods -n enkryptai-stack \
  -l app.kubernetes.io/instance=enkryptai,app.kubernetes.io/managed-by=Helm \
  --no-headers \
  | awk '$3 != "Running" {print $1, $3}'

check Pod Events

kubectl describe pod <pod-name> -n <namespace>

check Pod Logs

kubectl logs <pod-name> -n <namespace>

7. Health Check for Platform Applications

Check Non-Running Pods in the Cluster

Since the Platform Helm chart is be deployed in multiple namespaces, you can use the following command to find all pods that are not in Running state across the entire cluster:

kubectl get pods --all-namespaces --no-headers \
  | awk '$4 != "Running" {print $1, $2, $4}'

Explanation:

Example Output:

enkryptai-stack frontend Pending
platform-stack platform-supa CrashLoopBackOff

This command helps quickly identify any problematic pods in your cluster regardless of namespace.

This documentation ensures that users can quickly debug installation failures, application health issues, and job reruns without guessing.