Share a set of files & folders between pods & containers in kubernetes

11/14/2019

my use case is that I will have a large set of files (executables & text files). I would like to share these files with all pods with containers (that are created under different namespaces). The containers inside these pods should be able to access those files. The containers inside the pods either run the shared executables OR access text files whenever needed.

So, any container (in any pod) will be accessing those files asynchronously. (i.e., executing the binaries too)

If I dont share these files among all pods, then, I need to add all those files into every container inside the pods, thereby potentially increasing the pod sizes to 20GB (per workspace).

My application runs in AWS EKS. I'm okay with EC2 too.

Please help. Thanks in advance for the help.

-- che_new
amazon-ec2
aws-eks
eclipse-che
kubernetes
kubernetes-pod

0 Answers