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 a storage-provisioner-gluster addon #3521

Merged
merged 3 commits into from
Jan 16, 2019

Commits on Jan 9, 2019

  1. Add storage-provisioner-gluster addon

    With this addon dynamic provisioning based on Gluster can be enabled:
    
        $ minikube addons enable storage-provisioner-gluster
    
    This will deploy several pods in a new 'storage-gluster' namespace:
    
     - glusterfs, storage service with a 10GB sparse /srv/fake-disk.img
     - heketi, a smart Gluster volume manager
     - glusterfile-provisioner, external-storage provisioner
    
    In addition, the StorageClass 'glusterfile' will be created. It is
    currently not configured as default StorageClass, so PVCs need to refer
    to the new StorageClass.
    nixpanic committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    3c3b736 View commit details
    Browse the repository at this point in the history
  2. addons: when enabling storage-provisioner-gluster, mark other SCs non…

    …-default
    
    There can only be one StorageClass be marked as default. When the
    storage-provisioner-gluster addon is enabled, users expect it to be the
    default StorageClass.
    
    Instead of removing the "is-default" annotation from the other
    StorageClasses, set it to "false". This leaves only the "glusterfile"
    StorageClass as "is-default".
    nixpanic committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    b0c7341 View commit details
    Browse the repository at this point in the history
  3. addons: mark the last enabled storage provider as default

    When a storage provider is enabled (storage-provisioner-glusterfile),
    mark it "is-default" and set "is-default" to "false" in all other
    StorageClasses.
    nixpanic committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    b85b6d5 View commit details
    Browse the repository at this point in the history