docker / compose-on-kubernetes

Deploy applications described in Compose onto Kubernetes clusters
Apache License 2.0
1.42k stars 159 forks source link

PerssitentVolume enhancement #57

Closed simonferquel closed 3 years ago

simonferquel commented 5 years ago

Our current persistent volume support lacks some important features. Mainly we need support for:

For this, we'll need to introduce a root-level volume-list in the stack spec so that we can populate those options easily (instead of treating all volume mounts as default-100MB volumes)

MBARIMike commented 5 years ago

How about also interpolating variables from .env file settings?

xgeraldx commented 4 years ago

I still cannot fine how to define the persistent volumes in a compose file....I created the claims already in K8s, with the same names in the compose file. When the stack is created it still creates the persistent volume claims with all the defaults. How can I change the storage size as well as the persistent volume name? Thanks in advance.

tubbo commented 4 years ago

instead of treating all volume mounts as default-100MB volumes

This completely shits the bed on DigitalOcean since they require 1GB volume mounts as a minimum. All PVCs fail when trying to deploy.