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

runtime-rs: Enhancing DirectVolMount Handling with Patching Support #8301

Merged
merged 8 commits into from
Dec 4, 2023

Commits on Nov 24, 2023

  1. runtime-rs: split the block volume into block and rawblock volume

    (1) rawblock volume is directvol mount type.
    (2) block volume is based on the bind mount type.
    
    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    d238672 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2023

  1. runtime-rs: set a standard NotFound when direct volume path not found.

    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    6731466 View commit details
    Browse the repository at this point in the history
  2. runtime-rs: re-organize the volumes with adding new direct_volumes.

    Add a new dire direct_volumes containing spdk, rawblock and vfio volume.
    
    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    17d2d46 View commit details
    Browse the repository at this point in the history
  3. runtime-rs: add support kata/multi-containers sharing one spdk volume.

    Fiexes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    b952c5c View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. runtime-rs: add support kata/multi-containers sharing one vfio volume.

    Fiexes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e3becea View commit details
    Browse the repository at this point in the history
  2. runtime-rs: Enhancing DirectVolMount Handling for current Infra.

    The current infra(K8S, CSI, CRI, Containerd) for Kata containers is
    unable to properly handle direct volumes, resulting in the need for
    workarounds like searching/comparision and then patch up volume type.
    
    In this commit, reimplement of handling method is added to support
    raw block volume which backends may be rawdisk or other format file.
    
    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    f973729 View commit details
    Browse the repository at this point in the history
  3. runtime-rs: enhancement of spdk volume.

    (1) Add enum DirectVolumeType for direct volumes.
    (2) Reimplement spdk volume into direct_volume and
    do alignment of rawblock volume.
    
    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e3fd403 View commit details
    Browse the repository at this point in the history
  4. runtime-rs: enhancement of vfio volume.

    Reimplement vfio volume into direct_volume and do alignment
    of rawblock/spdk volume.
    
    Fixes: kata-containers#8300
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    fe68f25 View commit details
    Browse the repository at this point in the history