Home:ALL Converter>Deleting Stateful Sets in Kubernetes

Deleting Stateful Sets in Kubernetes

Ask Time:2019-03-13T20:14:22         Author:Balajee Venkatesh

Json Formatter

How to delete the Stateful Sets in Kubernetes permanently? They get re-created even after I delete them by setting --force and --grace-period=0 flags.

I know I can delete them all by removing the deployment itself. I'm interested in knowing if there is any way to preserve the deployments and delete only unwanted Stateful Sets.

Author:Balajee Venkatesh,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/55141661/deleting-stateful-sets-in-kubernetes
yy