cluster

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNFTSvcToNodeDisruptionPolicy

func AddNFTSvcToNodeDisruptionPolicy(cs *client.ClientSet) error

func ApplyMachineConfig

func ApplyMachineConfig(yamlInput []byte, c *client.ClientSet) (bool, error)

ApplyMachineConfig applies the MachineConfig and returns true if created or updated. False if unchanged, and an error if there is error.

func GetMachineConfigPool added in v0.0.6

func GetMachineConfigPool(cs *client.ClientSet, name string) (*machineconfigurationv1.MachineConfigPool, error)

GetMachineConfigPool returns the MachineConfigPool with the given name.

func ValidateClusterVersionAndMachineConfiguration

func ValidateClusterVersionAndMachineConfiguration(cs *client.ClientSet) error

func WaitForAPIGroupAvailable added in v0.0.4

func WaitForAPIGroupAvailable(cs *client.ClientSet, groupVersion string)

func WaitForMCPUpdate added in v0.0.6

func WaitForMCPUpdate(cs *client.ClientSet, name, previousRenderedMC string)

WaitForMCPUpdate waits for the MCO to render a new MachineConfig (by comparing the rendered MC name to previousRenderedMC) and then waits for all machines in the pool to be ready with the new config (timeout: 20m, polling interval: 5s). This avoids polling for transient status changes (UpdatedMachineCount != MachineCount) which can be missed on SNO where NodeDisruptionPolicy completes in seconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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