https://pulumi.com logo
l

lemon-greece-30910

02/20/2019, 7:22 PM
Hi, how do i attach persistent storage to a container? i have followed the tutorials and am able to successfully create a container running nginx (following: https://pulumi.io/quickstart/cloudfx/tutorial-service.html). but i am unable to find an example of how to attach a persistent volume. i can create a EFS (given in the example at: https://pulumi.io/reference/pkg/nodejs/@pulumi/aws/efs/), but i cant figure out how to attach it to the container. is anyone able to provide an example of how i do this? any help is appreciated.
b

busy-umbrella-36067

02/20/2019, 9:47 PM
use a statefulset
with a persistent volume claim
2 Views