Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MemoryAvailable is a constant for the 'memory.available' eviction setting. MemoryAvailable = "memory.available" // ImageFSAvailable is a constant for the 'imagefs.available' eviction setting. ImageFSAvailable = "imagefs.available" // ImageFSInodesFree is a constant for the 'imagefs.inodesFree' eviction setting. ImageFSInodesFree = "imagefs.inodesFree" // NodeFSAvailable is a constant for the 'nodefs.available' eviction setting. NodeFSAvailable = "nodefs.available" // NodeFSInodesFree is a constant for the 'nodefs.inodesFree' eviction setting. NodeFSInodesFree = "nodefs.inodesFree" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { // Name returns the name of the component. Name() string // Config takes a configuration context and returns units and files. Config(Context) ([]extensionsv1alpha1.Unit, []extensionsv1alpha1.File, error) }
Component is an interface which can be implemented by operating system config components.
type ConfigurableKubeletCLIFlags ¶
ConfigurableKubeletCLIFlags is the set of configurable kubelet command line parameters.
func KubeletCLIFlagsFromCoreV1beta1KubeletConfig ¶
func KubeletCLIFlagsFromCoreV1beta1KubeletConfig(kubeletConfig *gardencorev1beta1.KubeletConfig) ConfigurableKubeletCLIFlags
KubeletCLIFlagsFromCoreV1beta1KubeletConfig computes the ConfigurableKubeletCLIFlags based on the provided gardencorev1beta1.KubeletConfig.
type ConfigurableKubeletConfigParameters ¶
type ConfigurableKubeletConfigParameters struct { CpuCFSQuota *bool CpuManagerPolicy *string EvictionHard map[string]string EvictionMinimumReclaim map[string]string EvictionSoft map[string]string EvictionSoftGracePeriod map[string]string EvictionPressureTransitionPeriod *metav1.Duration EvictionMaxPodGracePeriod *int32 FailSwapOn *bool FeatureGates map[string]bool KubeReserved map[string]string MaxPods *int32 PodPidsLimit *int64 SystemReserved map[string]string }
ConfigurableKubeletConfigParameters is the set of configurable kubelet config parameters.
func KubeletConfigParametersFromCoreV1beta1KubeletConfig ¶
func KubeletConfigParametersFromCoreV1beta1KubeletConfig(kubeletConfig *gardencorev1beta1.KubeletConfig) ConfigurableKubeletConfigParameters
KubeletConfigParametersFromCoreV1beta1KubeletConfig computes the ConfigurableKubeletConfigParameters based on the provided gardencorev1beta1.KubeletConfig.
type Context ¶
type Context struct { CABundle *string ClusterDNSAddress string ClusterDomain string CRIName extensionsv1alpha1.CRIName Images map[string]*imagevector.Image KubeletCACertificate string KubeletCLIFlags ConfigurableKubeletCLIFlags KubeletConfigParameters ConfigurableKubeletConfigParameters KubeletDataVolumeName *string KubernetesVersion *semver.Version SSHPublicKey string }
Context contains configuration for the components.
Click to show internal directories.
Click to hide internal directories.