nodelabels

package
v1.29.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RoleLabelAPIServer16 = "node-role.kubernetes.io/api-server"
	RoleLabelNode16      = "node-role.kubernetes.io/node"

	RoleLabelControlPlane20 = "node-role.kubernetes.io/control-plane"
)

Variables

This section is empty.

Functions

func BuildMandatoryControlPlaneLabels added in v1.21.0

func BuildMandatoryControlPlaneLabels() map[string]string

BuildMandatoryControlPlaneLabels returns the list of labels all CP nodes must have

func BuildNodeLabels

func BuildNodeLabels(cluster *api.Cluster, instanceGroup *api.InstanceGroup) (map[string]string, error)

BuildNodeLabels returns the node labels for the specified instance group This moved from the kubelet to a central controller in kubernetes 1.16

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL