Skip to main content Skip to complementary content

Troubleshooting Kubernetes resource mounting in Dynamic Engine environments

Use this diagnostic section to identify and resolve common issues when mounting Kubernetes resources (ConfigMap, Secret, volumes, PersistentVolumeClaim, and securityContext) in your Dynamic Engine environments. This section helps you recognize error patterns and directs you to the appropriate solution topic.

Common error patterns and solutions

The following table maps error types, actions to take for diagnosis, and links to the corresponding Dynamic Engine customization topics:

Error Type Action Relevant Topic
CreateContainerConfigError Verify keys consistency in the additionalSpec with the mounted Secret or ConfigMap Mounting Kubernetes Secret as volumes in Dynamic Engine containers or Injecting environment variables from Kubernetes Secret or Injecting environment variables from ConfigMap
Job not created Verify keys consistency in the additionalSpec with the declared volumes or PVCs Mounting Kubernetes PersistentVolumeClaims for persistent storage in Dynamic Engine
securityContext error
  • Verify the UID/GID values are valid for your container image.
  • Check pod events for securityContext errors.
  • Ensure runAsNonRoot: true is compatible with your container image
Configuring securityContext for task containers running in Dynamic Engine environments
Environment variables not appearing
  • Verify the ConfigMap/Secret exists: kubectl get configmap/secret -n qlik-processing-env-$DYNAMIC_ENGINE_ENVIRONMENT_ID.
  • Check the pod's environment: kubectl exec <pod-name> -n qlik-processing-env-$DYNAMIC_ENGINE_ENVIRONMENT_ID -- env.
  • Review the Helm values
Injecting environment variables from Kubernetes Secret or Injecting environment variables from ConfigMap
volumes not mounting
  • Verify the Secret exists: kubectl get secret -n qlik-processing-env-$DYNAMIC_ENGINE_ENVIRONMENT_ID.
  • Check PVC status: kubectl get pvc -n qlik-processing-env-$DYNAMIC_ENGINE_ENVIRONMENT_ID.
  • Inspect pod events: kubectl describe pod <pod-name> -n qlik-processing-env-$DYNAMIC_ENGINE_ENVIRONMENT_ID
Mounting Kubernetes Secret as volumes in Dynamic Engine containers or Mounting Kubernetes PersistentVolumeClaims for persistent storage in Dynamic Engine

Next steps

After identifying your issue using this section:

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!