Skip to content

Bootstrap Container: Pull from S3 and use content as hostVolume #4126

Answered by arnaldo2792
JohnYoungers asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @JohnYoungers, you assumptions are correct and your solution "should work". However keep in mind that hostPath isn't SELinux aware (see this) which means that all the containers with access to the mount will have read/write permissions (unless you limit the permissions with readOnly: true in your spec file). As mentioned in the KEP, when hostPath is used no relabeling will occur in contrast with EBS volumes where the contents of the volumes are relabeled based on the SELinux rules. If you don't have any concerns on allowing read access to all the containers, your solution should work fine, otherwise if you want to keep files generated by each container isolated from each othe, EBS vol…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JohnYoungers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants