SysbeeTech / kubedeploy

Kubedeploy
https://kubedeploy.app/
Apache License 2.0
5 stars 2 forks source link

Automatic headless service when deploying StatefulSets #8

Closed btoic closed 10 months ago

btoic commented 11 months ago

Kubedeploy is currently deploying only one service object regardless of deploymentMode. Users can define service as headless however they don't have any means of creating regular service then.

As per: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#limitations

StatefulSets currently require a Headless Service to be responsible for the network identity of the Pods. You are responsible for creating this Service.

Headless service can/should be created automatically when deploymentMode is set to Statefulset