nodeinfo

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelNodeRoleControlPlane is the label used to identify control plane nodes
	LabelNodeRoleControlPlane = "node-role.kubernetes.io/control-plane"
	// LabelNodeRoleMaster is the old label used to identify control plane nodes
	LabelNodeRoleMaster = "node-role.kubernetes.io/master"
	// LabelNodeRoleWorker is the label used to identify worker nodes
	LabelNodeRoleWorker = "node-role.kubernetes.io/worker"
)

Variables

This section is empty.

Functions

func GetControlPlaneArchitectures

func GetControlPlaneArchitectures() []string

func GetWorkloadsArchitectures

func GetWorkloadsArchitectures() []string

func HandleNodeChanges

func HandleNodeChanges(ctx context.Context, cl client.Client, hc *v1beta1.HyperConverged, logger logr.Logger) (bool, error)

func IsControlPlaneHighlyAvailable

func IsControlPlaneHighlyAvailable() bool

func IsControlPlaneNodeExists

func IsControlPlaneNodeExists() bool

func IsInfrastructureHighlyAvailable

func IsInfrastructureHighlyAvailable() bool

Types

type Architectures

type Architectures struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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