Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ControllerRevisionHashLabelKey is used to record the controller revision of current resource. ControllerRevisionHashLabelKey = "apps.openyurt.io/controller-revision-hash" // PoolNameLabelKey is used to record the name of current pool. PoolNameLabelKey = "apps.openyurt.io/pool-name" // SpecifiedDeleteKey indicates this object should be deleted, and the value could be the deletion option. SpecifiedDeleteKey = "apps.openyurt.io/specified-delete" // AnnotationPatchKey indicates the patch for every sub pool AnnotationPatchKey = "apps.openyurt.io/patch" )
View Source
const ( NodePoolTypeLabelKey = "openyurt.io/node-pool-type" // LabelDesiredNodePool indicates which nodepool the node want to join LabelDesiredNodePool = "apps.openyurt.io/desired-nodepool" // LabelCurrentNodePool indicates which nodepool the node is currently // belonging to LabelCurrentNodePool = "apps.openyurt.io/nodepool" AnnotationPrevAttrs = "nodepool.openyurt.io/previous-attributes" // DefaultCloudNodePoolName defines the name of the default cloud nodepool DefaultCloudNodePoolName = "default-nodepool" // DefaultEdgeNodePoolName defines the name of the default edge nodepool DefaultEdgeNodePoolName = "default-edge-nodepool" // ServiceTopologyKey is the toplogy key that will be attached to node, // the value will be the name of the nodepool ServiceTopologyKey = "topology.kubernetes.io/zone" )
NodePool related labels and annotations
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.