Documentation ¶
Overview ¶
Package machinery provides upgrade related functions that are abstracted from machineconfig.
Index ¶
Constants ¶
View Source
const (
// MasterLabel for master node
MasterLabel = "node-role.kubernetes.io/master"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IsCordonedResult ¶
IsCordonedResult is a type that holds cordoned information
type Machinery ¶
type Machinery interface { IsUpgrading(c client.Client, nodeType string) (*UpgradingResult, error) IsNodeCordoned(node *corev1.Node) *IsCordonedResult IsNodeUpgrading(node *corev1.Node) bool HasMemoryPressure(node *corev1.Node) bool HasDiskPressure(node *corev1.Node) bool HasPidPressure(node *corev1.Node) bool }
Machinery enables an implementation of a Machinery interface
type UpgradingResult ¶
UpgradingResult provides a struct to illustrate the upgrading result
Click to show internal directories.
Click to hide internal directories.