sig-storage-lib-external-provisioner

module
v4.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2020 License: Apache-2.0

README

sig-storage-lib-external-provisioner

A library for writing external provisioners. See external-storage for community-maintained external provisioners that use this library.

Packages

controller

Contains the Provisioner interface and ProvisionController, a custom Kubernetes controller that watches PersistentVolumes and PersistentVolumeClaims. Implement the Provisioner interface, pass the implementation to a ProvisionController, and Run the controller, which then takes care of calling the Provisioner's Provision or Delete as needed.

Optional Packages

util

Contains an assortment of useful functions, e.g. any used by in-tree plugins that aren't otherwise easily importable.

gidallocator and allocator

gidallocator is used to allocate a GID from a range specified by StorageClass parameters gidMin & gidMax. allocator is the underlying implementation and can be used to write other allocators. An example use-case for gidallocator is an NFS-based provisioner that chowns each export to a unique GID. See Volume Security for more context. Adapted from the in-tree glusterfs plugin.

mount

Is used to read the mount table. Copied from moby.

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Directories

Path Synopsis
examples
repo-infra

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL