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
Click to show internal directories.
Click to hide internal directories.