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

nv-ipam CNI plugin #3

Merged
merged 11 commits into from
May 4, 2023
Merged

nv-ipam CNI plugin #3

merged 11 commits into from
May 4, 2023

Commits on May 4, 2023

  1. Add CNI plugin scaffolding

    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    2159882 View commit details
    Browse the repository at this point in the history
  2. Add types package

    types package contains CNI types
    for nv-ipam and host-local
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    7743bc8 View commit details
    Browse the repository at this point in the history
  3. add k8sclient package

    k8sclient package is used to create a kubernetes
    client from kubeconfig file provided by path in filesystem
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    4d535a9 View commit details
    Browse the repository at this point in the history
  4. add pool package

    pool package is used to manage pool configuration
    as defined in node annotation
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    b61e74a View commit details
    Browse the repository at this point in the history
  5. Update cni plugin ADD flow

    cmd add flow updated
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    64a6862 View commit details
    Browse the repository at this point in the history
  6. Update types

    - use network name as pool name if pool name
      not provided
    - use kubeconfig from ConfDir if not provided
      instead of DefaultConfDir
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    90bf896 View commit details
    Browse the repository at this point in the history
  7. Add pool name to pool

    - Rename PoolConfig to just Pool
    - Add pool name to pool
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    b3801b2 View commit details
    Browse the repository at this point in the history
  8. Call host-local ipam as delegate IPAM CNI

    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    fd32cf2 View commit details
    Browse the repository at this point in the history
  9. Add overlay configuration via config file

    This allows to provide per node default
    configuraiton for nv-ipam cni plugin
    
    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    ccbb9f0 View commit details
    Browse the repository at this point in the history
  10. Improve logging

    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    cc5e82f View commit details
    Browse the repository at this point in the history
  11. go mod tidy after rebase

    Signed-off-by: adrianc <adrianc@nvidia.com>
    adrianchiris committed May 4, 2023
    Configuration menu
    Copy the full SHA
    327cdc8 View commit details
    Browse the repository at this point in the history