English
« Back to projectatomic.io
Ask Your Question
0

Shared storage for Kubernetes on Atomic Host

asked 2015-12-04 19:20:40 +0000

vincentvdk gravatar image

Hi,

I'm currently running Kubernetes on top of Atomic host configured with Ansible. This works all very well, but to make efficient use of Kubernetes I would need to use shared storage for persistent data.

I looked at Glusterfs, but the necessary packages are not available in Atomic. As an alternative I configured NFS which works (K8s mounts the NFS share to the container). But SELinux prevents me from writing to the share.

Are there plans to make this better supported, or are there sources with documentation describing this? Until now I couldn't find any

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-09-21 19:34:32 +0000

Ashwin gravatar image

Now no need to pay anything for the online video game.Play this My Minesweeper game for free and online.This is the single player Board video game.Follow this web link https://myminesweeper.com and able to play the most entertaining board game even without download the game.Thank you so much guys for the game.

edit flag offensive delete link more
0

answered 2015-12-14 17:36:04 +0000

For NFS access, try setting this boolean on the K8S nodes, this should allow the containers to access the NFS share.

setsebool -P virt_use_nfs 1

I found that via the RHT docs, not anything we've got in the upstream at this point. There's also some k8s upstream docs that talk about this from a design standpoint ( https://github.com/kubernetes/kuberne... ). More information on k8S support for SELinux can be found in this proposal ( https://github.com/kubernetes/kuberne... )

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Stats

Asked: 2015-12-04 19:20:40 +0000

Seen: 4,888 times

Last updated: Sep 21