habitat-sh / habitat-operator

A Kubernetes operator for Habitat services
Apache License 2.0
61 stars 17 forks source link

Expose more StatefulSet+Pod+Container functionality through Habitat CRD #345

Open HT154 opened 6 years ago

HT154 commented 6 years ago

The Habitat operator is great for running simple services, but for services with more advanced requirements, it can be rather limiting. Here are some features of Pods that the Habitat CRD should consider exposing:

Properties on the habitat-service Container that should be adjustable:

Properties on the StatefulSet that should be exposed:

irvingpop commented 6 years ago

Great list - the lack of liveness & readyness probes is a bummer. I've also found myself wishing that the operator would expose topology type and leader election status.

HT154 commented 6 years ago

+1 On leader election status. It'd be great to set up a Service with a selector that selects for only the leader of a group. I was just wishing for this the other day for setting up redis replication.

HT154 commented 5 years ago

Updated original issue to remove StatefulSet updateStrategy from consideration. This is used internally by the operator to manage deleting pods and probably shouldn't be overridden.