Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Kubelet: Pod Volumes + Mounts #115

Open
Tracked by #124
MbolotSuse opened this issue Oct 1, 2024 · 0 comments
Open
Tracked by #124

Virtual Kubelet: Pod Volumes + Mounts #115

MbolotSuse opened this issue Oct 1, 2024 · 0 comments
Assignees
Labels
virtual-kubelet all virtual kubelet related issues

Comments

@MbolotSuse
Copy link
Collaborator

Currently, the Virtual Kubelet removes any volumes/volume mounts from a created pods configuration before syncing the pod to the host cluster. However, this is not acceptable outside of the POC - users should be able to run pods which use volumes.

Instead, for volumes that are derived from API resources (such as configmaps, secrets, service account tokens, API Server CA, projected volumes, pvcs) these resources should be synced from the virtual cluster to the host cluster. The version of these resources in the host cluster should have a name unique to the virtual cluster (so that the configmap "example" in namespace "default" can exist in two different virtual clusters in the same tenant). If users update the source resource, the new version should be automatically synchronized to the host cluster. If these resources are removed from the virtual cluster, they should be removed from the virtual cluster.

For volumes that are derived from resources outside of the cluster (e.x. nfs), these resources should be left as-is (allowing users to use properly named values from the host cluster).

@galal-hussein galal-hussein added the virtual-kubelet all virtual kubelet related issues label Oct 1, 2024
@MbolotSuse MbolotSuse self-assigned this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
virtual-kubelet all virtual kubelet related issues
Projects
None yet
Development

No branches or pull requests

2 participants