Problem
After running undeploy.sh, the kai-resource-reservation namespace is left behind. This namespace is created by the kai-scheduler but not removed during undeployment.
Expected Behavior
undeploy.sh should delete the kai-resource-reservation namespace when uninstalling kai-scheduler.
Reproduction
- Deploy a bundle with kai-scheduler
- Run
undeploy.sh
kubectl get ns kai-resource-reservation still exists
Proposed Fix
Add kai-resource-reservation to the namespace cleanup list in the undeploy template (pkg/bundler/deployer/helm/templates/undeploy.sh.tmpl), alongside the kai-scheduler namespace.