Documentation ¶
Index ¶
- Constants
- func MaxUnavailableNodeCount(cli client.Client, policy *nmstatev1beta1.NodeNetworkConfigurationPolicy) (int, error)
- func NetworkStateRefreshWithJitter() time.Duration
- func NodesRunningNmstate(cli client.Client) ([]corev1.Node, error)
- func ScaledMaxUnavailableNodeCount(matchingNodes int, intOrPercent intstr.IntOrString) (int, error)
Constants ¶
View Source
const ( NetworkStateRefresh = time.Minute NetworkStateRefreshMaxFactor = 0.1 )
View Source
const (
DEFAULT_MAXUNAVAILABLE = "50%"
)
Variables ¶
This section is empty.
Functions ¶
func MaxUnavailableNodeCount ¶ added in v0.44.0
func MaxUnavailableNodeCount(cli client.Client, policy *nmstatev1beta1.NodeNetworkConfigurationPolicy) (int, error)
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.