-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: support env and volumeMounts in HabitatSpec #181
Comments
Hi @jeremymv2! We're investigating approaches to provide persistent storage. One approach is to use Another approach we're exploring is to relegate persistence to services outside the cluster: a stateful service running outside Kubernetes forming a ring with a stateless one inside it. Your usecase is helpful in that it allows us to gauge interest and needs, so please feel free to add other details if they come to mind. The environment variables part is easier to figure out/implement, I've added it to my to-do list! |
@asymmetric for a use-case, this is something I'd love to be able to migrate to the CRD habitat-operator approach. https://github.com/jeremymv2/launch-chef-in-kubernetes/blob/master/chef-server-pod.yml Stateful (backend): elasticsearch, postgresql |
@asymmetric the challenge is that my Chef Server use-case above has a mix of stateful/stateless services that all need to join a habitat ring. |
This is a request for two enhancements:
volumeMounts
could be defined and taken into account when the Deployment is created in kubernetes. This would enable users to create rings with services that mount a filesystem backed datastore allowing dependent services to query the ring for such things as the db service's ip/port.toml
implemented as aSecret
. [done in Add Env key #184]The text was updated successfully, but these errors were encountered: