Search code examples
kubernetesspring-cloud-dataflow

Can I specify which host directory to mount when deploying an app using Spring Cloud Deployer Kubernetes?


I have an app that I deploy as part of a stream with Spring Cloud Dataflow on a Kubernetes cluster. The Docker image for the app contains a VOLUME instruction and I'd like to specify a directory on the host to mount the volume to. (This is network-attached storage that all hosts in the cluster can access.)

I didn't see anything in KubernetesDeployerProperties.

Is this possible?


Solution

  • Sorry, no built-in support for volumes. Feel free to raise an issue here: https://github.com/spring-cloud/spring-cloud-deployer-kubernetes/issues