update

package
v0.0.0-...-0e2c39a Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: UPL-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(o UpdateOptions) error

Update updates a cluster node with a new CrateOS image and restarts the node

Types

type UpdateOptions

type UpdateOptions struct {
	// KubeConfigPath is the path to the optional kubeconfig file
	KubeConfigPath string

	// NodeName is the name of the node to update
	NodeName string

	// DeleteEmptyDir specifies that the node should be drained even if pods are using emptydir
	DeleteEmptyDir bool

	// DisableEviction forces drain to use delete, ignoring PodDisruptionBudget
	DisableEviction bool

	// Timeout to wait for the node to drain
	Timeout string
}

UpdateOptions are the options for the update command

Jump to

Keyboard shortcuts

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