kubernetes: k8s.io/kubernetes/pkg/controller/volume/persistentvolume/config Index | Files | Directories

package config

import "k8s.io/kubernetes/pkg/controller/volume/persistentvolume/config"

Index

Package Files

doc.go types.go zz_generated.deepcopy.go

type PersistentVolumeBinderControllerConfiguration Uses

type PersistentVolumeBinderControllerConfiguration struct {
    // pvClaimBinderSyncPeriod is the period for syncing persistent volumes
    // and persistent volume claims.
    PVClaimBinderSyncPeriod metav1.Duration
    // volumeConfiguration holds configuration for volume related features.
    VolumeConfiguration VolumeConfiguration
}

PersistentVolumeBinderControllerConfiguration contains elements describing PersistentVolumeBinderController.

func (*PersistentVolumeBinderControllerConfiguration) DeepCopy Uses

func (in *PersistentVolumeBinderControllerConfiguration) DeepCopy() *PersistentVolumeBinderControllerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeBinderControllerConfiguration.

func (*PersistentVolumeBinderControllerConfiguration) DeepCopyInto Uses

func (in *PersistentVolumeBinderControllerConfiguration) DeepCopyInto(out *PersistentVolumeBinderControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PersistentVolumeRecyclerConfiguration Uses

type PersistentVolumeRecyclerConfiguration struct {
    // maximumRetry is number of retries the PV recycler will execute on failure to recycle
    // PV.
    MaximumRetry int32
    // minimumTimeoutNFS is the minimum ActiveDeadlineSeconds to use for an NFS Recycler
    // pod.
    MinimumTimeoutNFS int32
    // podTemplateFilePathNFS is the file path to a pod definition used as a template for
    // NFS persistent volume recycling
    PodTemplateFilePathNFS string
    // incrementTimeoutNFS is the increment of time added per Gi to ActiveDeadlineSeconds
    // for an NFS scrubber pod.
    IncrementTimeoutNFS int32
    // podTemplateFilePathHostPath is the file path to a pod definition used as a template for
    // HostPath persistent volume recycling. This is for development and testing only and
    // will not work in a multi-node cluster.
    PodTemplateFilePathHostPath string
    // minimumTimeoutHostPath is the minimum ActiveDeadlineSeconds to use for a HostPath
    // Recycler pod.  This is for development and testing only and will not work in a multi-node
    // cluster.
    MinimumTimeoutHostPath int32
    // incrementTimeoutHostPath is the increment of time added per Gi to ActiveDeadlineSeconds
    // for a HostPath scrubber pod.  This is for development and testing only and will not work
    // in a multi-node cluster.
    IncrementTimeoutHostPath int32
}

PersistentVolumeRecyclerConfiguration contains elements describing persistent volume plugins.

func (*PersistentVolumeRecyclerConfiguration) DeepCopy Uses

func (in *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration.

func (*PersistentVolumeRecyclerConfiguration) DeepCopyInto Uses

func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVolumeRecyclerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeConfiguration Uses

type VolumeConfiguration struct {
    // enableHostPathProvisioning enables HostPath PV provisioning when running without a
    // cloud provider. This allows testing and development of provisioning features. HostPath
    // provisioning is not supported in any way, won't work in a multi-node cluster, and
    // should not be used for anything other than testing or development.
    EnableHostPathProvisioning bool
    // enableDynamicProvisioning enables the provisioning of volumes when running within an environment
    // that supports dynamic provisioning. Defaults to true.
    EnableDynamicProvisioning bool
    // persistentVolumeRecyclerConfiguration holds configuration for persistent volume plugins.
    PersistentVolumeRecyclerConfiguration PersistentVolumeRecyclerConfiguration
    // volumePluginDir is the full path of the directory in which the flex
    // volume plugin should search for additional third party volume plugins
    FlexVolumePluginDir string
}

VolumeConfiguration contains *all* enumerated flags meant to configure all volume plugins. From this config, the controller-manager binary will create many instances of volume.VolumeConfig, each containing only the configuration needed for that plugin which are then passed to the appropriate plugin. The ControllerManager binary is the only part of the code which knows what plugins are supported and which flags correspond to each plugin.

func (*VolumeConfiguration) DeepCopy Uses

func (in *VolumeConfiguration) DeepCopy() *VolumeConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration.

func (*VolumeConfiguration) DeepCopyInto Uses

func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

PathSynopsis
v1alpha1

Package config imports 1 packages (graph) and is imported by 10 packages. Updated 2019-03-23. Refresh now. Tools for package owners.