Discover Packages
github.com/harvester/harvester
pkg
util
drainhelper
package
Version:
v1.1.3
Opens a new window with list of versions in this module.
Published: Dec 21, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
DrainAnnotation = "harvesterhci.io/drain-requested"
ForcedDrain = "harvesterhci.io/drain-forced"
)
DrainPossible is a helper method to check node object and query remaining nodes in cluster
to identify if it is possible to place the current mode in maintenance mode
Source Files
¶
Click to show internal directories.
Click to hide internal directories.