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.