Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct {
// contains filtered or unexported fields
}
Rule is a drainability rule on how to handle replicated pods.
func (*Rule) Drainable ¶
func (r *Rule) Drainable(drainCtx *drainability.DrainContext, pod *apiv1.Pod, _ *framework.NodeInfo) drainability.Status
Drainable decides what to do with replicated pods on node drain.
Click to show internal directories.
Click to hide internal directories.