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

11/4/2016

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?

-- Remon Sinnema
kubernetes
spring-cloud-dataflow

1 Answer

11/4/2016

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

-- Thomas Risberg
Source: StackOverflow