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

Kind provider #1232

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Commits on Aug 24, 2024

  1. feat: Introduce the CRI package primitive interfaces

    The ContainerClient is an abstraction to facilitate using a container runtime on the host regardless of what it is.
    The CreateOpts type is a holder of the container run options required in kubevirt ci.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    5fb92e9 View commit details
    Browse the repository at this point in the history
  2. refactor: Generalize the Docker adapter to execute general commands a…

    …nd extend it
    
    The docker adapter was previously used to execute commands when ssh.sh was still used.
    Its removed and the adapter is changed to be a general interface for container interaction.
    Implement the full ssh client interface on the adapter.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    a30df55 View commit details
    Browse the repository at this point in the history
  3. feat: Docker implementation for the CRI interface

    The implementation is a wrapper around the docker bash commands to avoid compatiblity issues across different runtime libraries.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    d9a9113 View commit details
    Browse the repository at this point in the history
  4. feat: Podman Implementation for the CRI interface

    the PodmanSSHClient is the podman equivalent of the DockerAdapter type for dealing with podman containers through the ssh client interface
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    136bc49 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. feat: Multus SR-IOV opt

    Provides the necessary functionality for running multus on sr-iov clusters
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    f4c6609 View commit details
    Browse the repository at this point in the history
  2. feat: SR-IOV components

    Provide functionality to run core k8s constructs on sr-iov clusters
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    2256934 View commit details
    Browse the repository at this point in the history
  3. feat: Introduce opts for multiple system tasks

    Remounting sysfs as readwrite.
    K8s networking configuration.
    Downloading and executing registry proxy scripts.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    44215d2 View commit details
    Browse the repository at this point in the history
  4. feat: Kind base provider

    The base provider is a valid provider that can be run standalone for a stock kind cluster, And is also the base for
    any other type of kind cluster.
    It is container runtime agnostic and depends on the sigs.k8s.io/kind/pkg/cluster package which is introduced in this commit as a dependency.
    It uses this package to provision a kind cluster and provides extra functionality by running a registry container and configuring the nodes
    to reach it.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    2b30bb2 View commit details
    Browse the repository at this point in the history
  5. feat: Kind SR-IOV

    The SR-IOV leverages the base provider for core functionality then installs sr-iov capability in the containers afterwards
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    f9cc934 View commit details
    Browse the repository at this point in the history
  6. feat: Kind VGPU

    The vgpu provider leverages the base provider for its core, then checks if the host has any available vgpus.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    05a8a99 View commit details
    Browse the repository at this point in the history
  7. feat: Introduce commands for running and removing kind clusters

    The new command will parse flags into a KindConfig and run the cluster with it.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    4ebe4d9 View commit details
    Browse the repository at this point in the history
  8. refactor!: Modify cluster up to use the gocli

    Delete old bash code and up clusters using the gocli instead.
    
    Signed-off-by: aerosouund <[email protected]>
    aerosouund committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    3ccedec View commit details
    Browse the repository at this point in the history