node

package
v3.9.0-0.37.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureKubeletAccess

func EnsureKubeletAccess()

TODO this is a best effort check at the moment that should either move to kubelet or be removed entirely EnsureKubeletAccess performs a number of test operations that the Kubelet requires to properly function. All errors here are fatal.

func EnsureVolumeDir

func EnsureVolumeDir(volumeDirName string)

TODO we need to stop doing this or get it upstream EnsureVolumeDir attempts to convert the provided volume directory argument to an absolute path and create the directory if it does not exist. Will exit if an error is encountered.

func PatchUpstreamVolumePluginsForLocalQuota

func PatchUpstreamVolumePluginsForLocalQuota(nodeConfig configapi.NodeConfig) func() []volume.VolumePlugin

TODO this needs to move into the forked kubelet with a `--openshift-config` flag PatchUpstreamVolumePluginsForLocalQuota checks if the node config specifies a local storage perFSGroup quota, and if so will test that the volumeDirectory is on a filesystem suitable for quota enforcement. If checks pass the k8s emptyDir volume plugin will be replaced with a wrapper version which adds quota functionality.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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