node

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterLabels

func FilterLabels(labels map[string]string) map[string]string

FilterLabels removes reserved node labels from a map of labels. reference: https://kubernetes.io/docs/reference/labels-annotations-taints/ .

func FindPending

func FindPending(pendingNodes []updatev1alpha1.PendingNode, node *corev1.Node) *updatev1alpha1.PendingNode

FindPending searches for a pending node that matches a node. The pending node has to have the goal to join the cluster and be reported as ready be the CSP. if the node is not found, nil is returned.

func IsControlPlaneNode

func IsControlPlaneNode(node *corev1.Node) bool

IsControlPlaneNode returns true if the node is a control plane node.

func Ready

func Ready(node *corev1.Node) bool

Ready checks if a kubernetes node has the `NodeReady` condition set to true.

func VPCIP

func VPCIP(node *corev1.Node) (string, error)

VPCIP returns the VPC IP of a node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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