ContainerPath Volumes User Guide#999
Conversation
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| **Why both volumes?** | ||
| - `sa-volume`: Ensures the virt-launcher pod uses the IRSA-annotated ServiceAccount, which triggers token injection. | ||
| - `aws-token`: Exposes the injected EKS token path to the VM via virtiofs. |
There was a problem hiding this comment.
Formatting: these 3 lines show as 1 line in the preview
| - The specified `path` must be an absolute path that exists within the virt-launcher pod's `compute` container | ||
| - The path must correspond to (or be a subpath of) a volumeMount in the compute container | ||
| - The path should exist before VM startup, or be continuously populated by a sidecar or webhook-injected mechanism | ||
| - Paths containing `..` components that would escape the volumeMount boundary are rejected |
There was a problem hiding this comment.
Symlinks that escape the volumeMount are rejected too, right?
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jean-edouard The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add documentation for the ContainerPath volumes feature (VEP 165), which allows VMs to access files dynamically injected into the virt-launcher pod via virtiofs. Includes examples for AWS IRSA and Azure Workload Identity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
d2bc154 to
8320b57
Compare
What this PR does / why we need it:
Doc for ContainerPath Volumes
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 #
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: