StatefulSet Autodelete owner references should respect controller #122400
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
StatefulSet owner references don't set or respect the controller flag.
That should either be used, preferably through controller-runtime/controllerutil as is used in controllers like RabbitMq, crunchy postgres and Neo4jCluster.
We have observed these controllers being used on stateful sets. We haven't seen any reports of controller contention problems but the potential is there.
This should delay GA promotion of the statefulset autodelete feature (kubernetes/enhancements#1847).
/assign @mattcary
/sig apps
What did you expect to happen?
n/a
How can we reproduce it (as minimally and precisely as possible)?
n/a
Anything else we need to know?
No response
Kubernetes version
n/a
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: