Skip to content

Helm uninstall does not remove webhooks #751

@ron-arbo

Description

@ron-arbo

What happened?

I installed kai-scheduler via the helm chart and then immediately uninstalled it.

Then, I tried to create a deployment.

However, the pod for this deployment never comes up. Inspecting the ReplicaSet:

Events:
  Type     Reason        Age                From                   Message
  ----     ------        ----               ----                   -------
  Warning  FailedCreate  0s (x13 over 29s)  replicaset-controller  Error creating: Internal error occurred: failed calling webhook "admission.kai-scheduler.svc": failed to call webhook: Post "https://admission.kai-scheduler.svc:443/mutate--v1-pod?timeout=10s": dial tcp 10.96.3.36:443: connect: connection refused

Kai's webhooks are still active and preventing pods from running because they cannot access the services that were uninstalled.

What did you expect to happen?

I would expect the Kai webhooks to be deleted during the helm uninstall so that they do not prevent future pods from running.

Environment

  • KAI Scheduler version
    v0.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions