Skip to content

fix(bundler): undeploy.sh should clean up kai-resource-reservation namespace #390

@yuanchen8911

Description

@yuanchen8911

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

  1. Deploy a bundle with kai-scheduler
  2. Run undeploy.sh
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions