Documentation ¶
Index ¶
- func CleanDeleteVirtualMachine(az armhelpers.ACSEngineClient, logger *log.Entry, resourceGroup, name string) error
- func SafelyDrainNode(az armhelpers.ACSEngineClient, logger *log.Entry, ...) error
- func ScaleDownVMs(az armhelpers.ACSEngineClient, logger *log.Entry, resourceGroup string, ...) *list.List
- type VMScalingErrorDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanDeleteVirtualMachine ¶
func CleanDeleteVirtualMachine(az armhelpers.ACSEngineClient, logger *log.Entry, resourceGroup, name string) error
CleanDeleteVirtualMachine deletes a VM and any associated OS disk
func SafelyDrainNode ¶
func SafelyDrainNode(az armhelpers.ACSEngineClient, logger *log.Entry, masterURL, kubeConfig, nodeName string, timeout time.Duration) error
SafelyDrainNode safely drains a node so that it can be deleted from the cluster
func ScaleDownVMs ¶
func ScaleDownVMs(az armhelpers.ACSEngineClient, logger *log.Entry, resourceGroup string, vmNames ...string) *list.List
ScaleDownVMs removes the vms in the provided list. Returns a list with details on each failure. all items in the list will always be of type *VMScalingErrorDetails
Types ¶
type VMScalingErrorDetails ¶
VMScalingErrorDetails give the index in the agent pool that failed and the accompanying error
Click to show internal directories.
Click to hide internal directories.