Statefulset workload can not be custom naming, and the headless svc would not delete while this sts is deleted on the console.
Created by: zhu733756
Environment 1 master 1 node: 8cpu/16g
To Reproduce
Build a statefulset workload by using container mysql:latest
on the console. Would post a statefulset workload generated and a headless svc generated.
But the headless svc can not be custom naming, its name may be generated randomly by the js script. In addition, this headless svc would not delete while this sts is deleted.
Although the svc and sts are different from both, I think they had better be deleted together.
Expected behavior The headless svc can be custom naming, and the svc and sts should be deleted together while this sts is deleted on the console.