Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NodeMaxAvailableReplica ¶
func NodeMaxAvailableReplica(node *corev1.Node, pods []*corev1.Pod, request corev1.ResourceList) (int32, error)
NodeMaxAvailableReplica calculates max available replicas of a node, based on the pods assigned to the node and the request resource of the replica.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.