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

NVIPAMPool CRD #24

Merged
merged 5 commits into from
Sep 12, 2023
Merged

NVIPAMPool CRD #24

merged 5 commits into from
Sep 12, 2023

Commits on Sep 5, 2023

  1. NVIPAMPool CRD

    - Add CRD definition
    - Add Make targets
    - Add CR examples based on ConfigMap example
    
    Signed-off-by: Fred Rolland <frolland@nvidia.com>
    rollandf committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    9a0db98 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. IPPool controller

    Add IPPool controller, watching Pools.
    The IP range allocations are available on the CR status.
    Node controller triggers event on all Pools when
    Node is added/updated/deleted.
    
    Signed-off-by: Fred Rolland <frolland@nvidia.com>
    rollandf committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2847204 View commit details
    Browse the repository at this point in the history
  2. Node: watch IPPool CR

    Move from watching Nodes object and read IP range from
    annotation, to watch IPPools objects and get Allocations
    from their Status.
    
    Signed-off-by: Fred Rolland <frolland@nvidia.com>
    rollandf committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    a95a67b View commit details
    Browse the repository at this point in the history
  3. Migration from cm to CRs

    In case the IP configuration ConfigMap exists:
    - Create IPPools CR according to config spec
    - Read Nodes ranges annotation
    - Populate the IPpools Status allocations
    - Clear Nodes ranges annotation
    - Delete ConfigMap
    
    In case an issue is preventing the migration flow,
    it can be skipped by setting the env var 'MIGRATOR_DISABLE_MIGRATION'.
    
    Signed-off-by: Fred Rolland <frolland@nvidia.com>
    rollandf committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d6513cd View commit details
    Browse the repository at this point in the history
  4. Update README for IPPool CRD

    Signed-off-by: Fred Rolland <frolland@nvidia.com>
    rollandf committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    251cb7e View commit details
    Browse the repository at this point in the history