materialize icon indicating copy to clipboard operation
materialize copied to clipboard

orchestrator: use `ownerReference` on stateful set

Open uce opened this issue 2 years ago • 0 comments

Instead of manually deleting created Kubernetes resources, we can use ownerReference on the top-level resource (currently the StatefulSet) and let Kubernetes garbage collect the child resources (e.g. Service).

Per Paul's suggestion in https://github.com/MaterializeInc/materialize/pull/14901#pullrequestreview-1115413361.

uce avatar Sep 21 '22 19:09 uce