Repository navigation
feat(workspaces): a hostpath storage the lab runs under rootless Podman - #1065
Draft
QuentinBisson wants to merge 3 commits into
Draft
QuentinBisson wants to merge 3 commits into
QuentinBisson wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Under rootless Podman on Linux the workspace storage never comes up: the node runs in the user's user namespace, where the kernel mounts neither the
nfsdfilesystem (rpc.nfsd: Unable to access /proc/fs/nfsd) nor an NFS export, soagentlab upwithplatform.workspacesstops at the NFS server.Change
platform.workspaces.storage(configure --workspaces-storage) picksnfs, the NFS server and csi-driver-nfs as before, orhostpath: csi-driver-host-path as Substrate's ownate-setup csi hostpathinstalls it, every volume a directory of the one node published with a bind mount, behind the same mTLS proxy and registered with Substrate the same way. Empty picks hostpath under rootless Podman on Linux for the single-node lab without the CSI companion, nfs elsewhere; hostpath refusessubstrateNodesabove 0 and the companion.docs/workspaces.mdstates the driver's limit: one staging per volume per node, so a pod and an actor cannot hold one volume at the same time, and actors sharing one need giantswarm/substrate#542.