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

package config

import "k8s.io/kubernetes/pkg/controller/nodelifecycle/config"

Index

Package Files

doc.go types.go zz_generated.deepcopy.go

type NodeLifecycleControllerConfiguration Uses

type NodeLifecycleControllerConfiguration struct {
    // If set to true enables NoExecute Taints and will evict all not-tolerating
    // Pod running on Nodes tainted with this kind of Taints.
    EnableTaintManager bool
    // nodeEvictionRate is the number of nodes per second on which pods are deleted in case of node failure when a zone is healthy
    NodeEvictionRate float32
    // secondaryNodeEvictionRate is the number of nodes per second on which pods are deleted in case of node failure when a zone is unhealthy
    SecondaryNodeEvictionRate float32
    // nodeStartupGracePeriod is the amount of time which we allow starting a node to
    // be unresponsive before marking it unhealthy.
    NodeStartupGracePeriod metav1.Duration
    // nodeMontiorGracePeriod is the amount of time which we allow a running node to be
    // unresponsive before marking it unhealthy. Must be N times more than kubelet's
    // nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet
    // to post node status.
    NodeMonitorGracePeriod metav1.Duration
    // podEvictionTimeout is the grace period for deleting pods on failed nodes.
    PodEvictionTimeout metav1.Duration
    // secondaryNodeEvictionRate is implicitly overridden to 0 for clusters smaller than or equal to largeClusterSizeThreshold
    LargeClusterSizeThreshold int32
    // Zone is treated as unhealthy in nodeEvictionRate and secondaryNodeEvictionRate when at least
    // unhealthyZoneThreshold (no less than 3) of Nodes in the zone are NotReady
    UnhealthyZoneThreshold float32
}

NodeLifecycleControllerConfiguration contains elements describing NodeLifecycleController.

func (*NodeLifecycleControllerConfiguration) DeepCopy Uses

func (in *NodeLifecycleControllerConfiguration) DeepCopy() *NodeLifecycleControllerConfiguration

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

func (*NodeLifecycleControllerConfiguration) DeepCopyInto Uses

func (in *NodeLifecycleControllerConfiguration) DeepCopyInto(out *NodeLifecycleControllerConfiguration)

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 5 packages. Updated 2019-03-25. Refresh now. Tools for package owners.