Skip to content

make undeploy deleted EVERY POD IN THE NAMESPACE #39

@utdrmac

Description

@utdrmac

Holy hell! Thank goodness this was a test K8S, but still, why in <insert holy figure>'s name would you have a command that deletes all the pods!? And no warnings?!

Steps:

  • Change the namespace using kustomize to mine (this is a shared K8S, and we each have our own namespace).
cd config/default
kustomize edit set namespace myuserns
  • Run make deploy IMG=my.private.reg/valkey-operator:tag. Seemed to work. Let's remove it and try again.
  • Run make undeploy (per the documentation) and suddenly all 33 of my pods are in terminating state! one-by-one I see all my pods die off.

The documentation literally says "UnDeploy the controller from the cluster:" It does not say "Remove all pods in namespace". This command should only remove the controller, as stated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions