This guide provides solutions for common issues encountered when running DRAForge. It maps symptoms to diagnostic commands and potential fixes.
If you suspect an issue with the DRA configuration or DRAForge components, your first step should be to run the built-in diagnostics tool:
draforge doctor
This command runs active cluster and driver diagnostic checks, including validating API availability, version compatibility, and checking for stale ResourceSlice objects.
Description: Pods requesting dynamic resources are not scheduling, and their associated ResourceClaim objects remain pending.
Diagnostic Command:
draforge explain <claim-name>
Potential Causes & Fixes:
SimulatedDevicePool matching the selector, or if the pool is fully allocated.
draforge discover. Add more devices to the pool or free up existing allocations.Description: Errors indicating that resource.k8s.io/v1 or SimulatedDevicePool resources cannot be found.
Diagnostic Command:
draforge doctor
Potential Causes & Fixes:
--feature-gates=DynamicResourceAllocation=true. See your cluster provider’s documentation for instructions.SimulatedDevicePool CRD is missing.
kubectl apply -f deploy/crds/simulateddevicepool-crd.yaml) or ensure the Helm chart was installed correctly.Description: Allocations appear incorrect, or the dashboard shows nodes that no longer exist.
Diagnostic Command:
draforge doctor
Potential Causes & Fixes:
ResourceSlice was not cleaned up.
doctor command (StaleResourceSliceCheck) actively identifies stale slices. You can manually delete the stale slice using kubectl delete resourceslice <slice-name>.Description: The React web dashboard is inaccessible or fails to update in real-time.
Potential Causes & Fixes:
kubectl get deployment -n draforge-system.If you need further assistance, gather the following information before opening an issue:
draforge version.draforge doctor.kubectl logs -l app.kubernetes.io/name=draforge-controller -n draforge-system