This guide covers day-two operations for managing a DRAForge deployment, including upgrades, observability (metrics and logs), and cleanup procedures.
Upgrading DRAForge primarily involves updating the Helm release.
Update the Helm Repository/Chart:
Ensure you have the latest chart definitions. If you are using a remote repository, run helm repo update. If using the source directory, ensure you have pulled the latest changes.
helm upgrade draforge deploy/helm/draforge \
--namespace draforge-system
kubectl get pods -n draforge-system -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.spec.containers[0].image}{"\n"}{end}'
DRAForge provides native support for monitoring and logging to assist operators in maintaining cluster health.
Both the API server and the reconciler expose Prometheus metrics via a /metrics handler.
/metrics path.ServiceMonitor configurations are not included by default but can be added alongside the Helm deployment to target the draforge-controller and draforge-api-server services.DRAForge components log operational details to standard output, making them compatible with standard Kubernetes log aggregators (e.g., Fluent Bit, Promtail).
kubectl logs -l app.kubernetes.io/name=draforge-controller -n draforge-system
kubectl logs -l app.kubernetes.io/name=draforge-api-server -n draforge-system
Tip: Adjust log verbosity by setting the appropriate environment variables or flags defined in the component configurations if deeper debugging is required.
When you need to remove DRAForge or clean up test scenarios, follow these steps to ensure all resources are properly deleted.
Before uninstalling the core components, it’s good practice to remove any applied scenarios (like SimulatedDevicePools and ResourceClaims) to allow for graceful termination.
kubectl delete -f examples/scenarios/basic-gpu.yaml
# Or, clean up specific pools
kubectl delete simulateddevicepools --all
To completely remove the DRAForge deployment from your cluster:
helm uninstall draforge -n draforge-system
Helm does not automatically remove CRDs when a release is uninstalled. To fully clean up the cluster, you must remove the CRDs manually. Warning: This will delete all custom resources of this type in the cluster.
kubectl delete -f deploy/crds/simulateddevicepool-crd.yaml
If you deployed the DOKS showcase using the provided Terraform modules, refer to the Cost Control Guide for instructions on tearing down billable infrastructure using task demo:down or terraform destroy.