-
Notifications
You must be signed in to change notification settings - Fork 237
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
virtiofs: Update feature gate usage, privileged containers and live migration #866
Conversation
/cc @germag |
docs/storage/disks_and_volumes.md
Outdated
The **non-privileged mode** is enabled by default. This mode has the advantage of not requiring any | ||
administrative privileges for creating the VM. However, it has some limitations: | ||
KubeVirt only supports to share PVCs in non-privileged sharing mode. The **non-privileged mode** sharing mode has some | ||
limitations: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the "privileged mode" doesn't exist anymore, I suggest avoiding mention "non-privileged sharing mode" because it implies that exist another mode. So, maybe something like:
"KubeVirt only supports to share PVCs using a non-privileged virtiofs daemon. Because the lack of privileges, it has some limitations:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You right, nice catch. Done.
12d9d22
to
44b063f
Compare
/lgtm |
/cc @aburdenthehand |
44b063f
to
cae28fb
Compare
v2:
|
/hold |
/hold cancel |
@alicefr Could you please take a look? Thanks in advance. |
I still see this phrase
in few places, configmap, secrets and serviceaccount please check that all liv.mig references are correct |
cae28fb
to
202db56
Compare
Addressed. |
…igration Change [#11997](kubevirt/kubevirt#11997) introduces new feature gates for virtiofs and dropped the support of privileged sharing mode. It syncs the documentation to the mentioned change: * Users need to enable the feature gate `EnableVirtioFsConfigVolumes` for sharing `configMaps`, `secrets`, and `serviceAccounts`. * Users need to enable the feature gate `EnableVirtioFsStorageVolumes` for sharing `PVCs`. * Dropped support of privileged sharing mode. Moreover, change [#13756](kubevirt/kubevirt#13756) enables to migrate VMs while sharing devices with virtiofs. Therefore, all mentions to live migration has been dropped. Signed-off-by: Javier Cano Cano <[email protected]>
202db56
to
325c57d
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alicefr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Change #11997 introduces new feature gates for virtiofs and dropped the support of privileged sharing mode. It syncs the documentation to the mentioned change:
EnableVirtioFsConfigVolumes
for sharingconfigMaps
,secrets
, andserviceAccounts
.EnableVirtioFsStorageVolumes
for sharingPVCs
.Moreover, change #13756 enables to migrate VMs while sharing devices with virtiofs. Therefore, all mentions to live migration limitation has been dropped.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes # CNV-35472
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: