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

Add "auto" provisioning type. #120

Merged
merged 2 commits into from
Aug 19, 2024
Merged

Add "auto" provisioning type. #120

merged 2 commits into from
Aug 19, 2024

Commits on Aug 12, 2024

  1. Add "auto" provisioning type.

    Automatically use hostpath if pod is on same host as zfs pool.
    
    This addresses ccremer#85. When storage class type is set to auto,
    automatically create a hostpath volume when the scheduler selects the
    specified node to run the pod, otherwise fallback to using NFS.
    
    Note this only works when volumeBindingMode is set to
    WaitForFirstConsumer in the storage class. Otherwise, when set to
    Immediate, volumes will be pre-provisioned before the scheduler selects a
    node for the pod consuming the volume, and options.SelectedNode will be
    unset.
    jp39 committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    52c1040 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Auto: unconditionally set affinity when RWO or RWOP is requested.

    Force HostPath to be used preemptively instead of letting the scheduler
    choose where to place the first pod.
    
    Also add support for ReadWriteOncePod.
    jp39 committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    a234118 View commit details
    Browse the repository at this point in the history