Documentation ¶
Index ¶
- Constants
- func FilterReady(nodes []corev1.Node) []corev1.Node
- func MaxUnavailableNodeCount(cli client.Reader, policy *nmstatev1.NodeNetworkConfigurationPolicy) (int, error)
- func NetworkStateRefreshWithJitter() time.Duration
- func NodesRunningNmstate(cli client.Reader, nodeSelector map[string]string) ([]corev1.Node, error)
- func ScaledMaxUnavailableNodeCount(matchingNodes int, intOrPercent intstr.IntOrString) (int, error)
- type MaxUnavailableLimitReachedError
Constants ¶
View Source
const ()
View Source
const ( NetworkStateRefresh = time.Minute NetworkStateRefreshMaxFactor = 0.1 )
Variables ¶
This section is empty.
Functions ¶
func MaxUnavailableNodeCount ¶ added in v0.44.0
func NetworkStateRefreshWithJitter ¶ added in v0.37.4
NodeNetworkStateRefreshWithJitter add some jitter to to the refresh rate so it does not hit apiserver at the same time.
func NodesRunningNmstate ¶ added in v0.44.0
func ScaledMaxUnavailableNodeCount ¶ added in v0.44.0
func ScaledMaxUnavailableNodeCount(matchingNodes int, intOrPercent intstr.IntOrString) (int, error)
Types ¶
type MaxUnavailableLimitReachedError ¶ added in v0.52.12
type MaxUnavailableLimitReachedError struct{}
func (MaxUnavailableLimitReachedError) Error ¶ added in v0.52.12
func (f MaxUnavailableLimitReachedError) Error() string
Click to show internal directories.
Click to hide internal directories.