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

csi: move volume claim release into volumewatcher #7794

Merged
merged 5 commits into from
Apr 30, 2020
Merged

Commits on Apr 28, 2020

  1. Configuration menu
    Copy the full SHA
    3854427 View commit details
    Browse the repository at this point in the history
  2. csi: move claim release into volumewatcher

    This changeset adds a subsystem to run on the leader, similar to the
    deployment watcher or node drainer. The `Watcher` performs a blocking
    query on updates to the `CSIVolumes` table and triggers reaping of
    volume claims.
    
    This will avoid tying up scheduling workers by immediately sending
    volume claim workloads into their own loop, rather than blocking the
    scheduling workers in the core GC job doing things like talking to CSI
    controllers
    
    (This commit does not include wiring-up the leader or removing the old
    GC mechanism.)
    tgross committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    ddedf7e View commit details
    Browse the repository at this point in the history
  3. csi: wire-up volumewatcher to leader

    Enable the volume watcher on leader step-up and disable it on leader
    step-down.
    tgross committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b158a1f View commit details
    Browse the repository at this point in the history
  4. csi: remove old volume claim GC mechanism

    The volume claim GC mechanism now makes an empty claim RPC for the
    volume to trigger an index bump. That in turn unblocks the blocking
    query in the volume watcher so it can assess which claims can be
    released for a volume.
    tgross committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    588acb5 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Configuration menu
    Copy the full SHA
    14d5c68 View commit details
    Browse the repository at this point in the history