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

ci: Add workflow for testing multi-pool IPAM #26175

Merged
merged 1 commit into from
Jun 22, 2023

Commits on Jun 21, 2023

  1. ci: Add workflow for testing multi-pool IPAM

    This adds a new GitHub Actions workflow (with `pull_request` trigger)
    which tests the new multi-pool IPAM feature added in #22762. The feature
    does have unit test coverage as well, but since it does have
    implications on routing and masquerading (see `Notes:` section in
    workflow), we also want to test the feature end-to-end to ensure it
    interacts correctly with those systems.
    
    The workflow sets up a regular kind cluster and installs Cilium with
    Multi-Pool IPAM enabled in it. It then runs a version of the
    connectivity test that allocates the test pod IPs from non-default
    pools. This tests that routing and masquerading works for non-default
    pools. The workflow then validates that the pod IPs have been allocated
    from the correct pool, to ensure we don't report false positives in case
    the connectivity test annotation did not take effect.
    
    At the moment, this workflow runs on every PR. It is an open question if
    it should run on a comment trigger instead. During testing, it only had
    a run-time of about 15 minutes, 5 minutes of which were spent waiting on
    the images to be ready.
    
    Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
    gandro committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    704fea9 View commit details
    Browse the repository at this point in the history