Documentation ¶
Index ¶
Constants ¶
View Source
const ( AnnotationKeyAccount = "node.titus.netflix.com/account" AnnotationKeyAccountID = "node.titus.netflix.com/accountId" AnnotationKeyAMI = "node.titus.netflix.com/ami" AnnotationKeyASG = "node.titus.netflix.com/asg" AnnotationKeyCluster = "node.titus.netflix.com/cluster" AnnotationKeyENIResourceSet = "node.titus.netflix.com/res" AnnotationKeyInstanceID = "node.titus.netflix.com/id" AnnotationKeyInstanceType = "node.titus.netflix.com/itype" AnnotationKeyRegion = "node.titus.netflix.com/region" AnnotationKeyZone = "node.titus.netflix.com/zone" AnnotationKeyStack = "node.titus.netflix.com/stack" // AnnotationKeyNodeTerminationReason is a human readable string indicating *why* a node was terminated. // It is the responsibility of any code that calls node.delete() to populate this annotation so that operators // of the system can understand why a node was deleted. AnnotationKeyNodeTerminationReason = "node.titus.netflix.com/node-termination-reason" // AnnotationKeyNodeTerminationByCaller is a human readable string indicating which Titus component actually // deleted the a node, to aid operators in investigating "why did this node go away". AnnotationKeyNodeTerminationByCaller = "node.titus.netflix.com/node-termination-by-caller" )
View Source
const ( LabelKeyASG = "node.titus.netflix.com/asg" LabelKeyBackend = "node.titus.netflix.com/backend" LabelKeyDecommissioning = "node.titus.netflix.com/decommissioning" LabelKeyInstanceID = "node.titus.netflix.com/id" LabelKeyRemovable = "node.titus.netflix.com/removable" LabelKeyUnremovable = "node.titus.netflix.com/unremovable" LabelKeyResourcePool = "scaler.titus.netflix.com/resource-pool" LabelKeyServerGroupIgnore = "scaler.titus.netflix.com/ignore" LabelKeyTerminating = "node.titus.netflix.com/terminating" LabelKeyInstanceType = "node.kubernetes.io/instance-type" LabelKeyMutableBuild = "node.titus.netflix.com/mutable-build" LabelKeyCpuModelName = "node.titus.netflix.com/cpu-model-name" LabelValueBackendMock = "mock" LabelValueBackendVirtualKubelet = "VirtualKubelet" LabelValueBackendKubelet = "kubelet" )
View Source
const ( TaintKeyBackend = "node.titus.netflix.com/backend" TaintKeyFarzone = "node.titus.netflix.com/farzone" TaintKeyGPUNode = "node.titus.netflix.com/gpu" TaintKeyInit = "node.titus.netflix.com/uninitialized" TaintKeyNodeEvacuate = "taint.titus.netflix.com/evacuate" TaintKeyNodeProblem = "taint.titus.netflix.com/nodeProblem" TaintKeyScheduler = "node.titus.netflix.com/scheduler" TaintKeyTier = "node.titus.netflix.com/tier" TaintKeyNodeDecommissioning = "node.titus.netflix.com/decommissioning" TaintKeyNodeScalingDown = "node.titus.netflix.com/scaling-down" )
Variables ¶
This section is empty.
Functions ¶
func IsMockNode ¶ added in v0.33.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.