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 |
|
Configuring securityContext for task containers running in Dynamic Engine environments |
| Environment variables not appearing |
|
Injecting environment variables from Kubernetes Secret or Injecting environment variables from ConfigMap |
| volumes not mounting |
|
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:
- Review the Mounting custom Kubernetes resources in Dynamic Engine environments section for prerequisites.
- Consult the Kubernetes documentation for details on ConfigMap, Secret, volumes, and securityContext.
- For general Kubernetes troubleshooting patterns and kubectl command reference, see the Kubernetes debugging guide.