Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Same max size used on PDBs: // https://github.com/kubernetes/kubernetes/blob/72a1dcb6e727/pkg/registry/core/pod/storage/eviction.go#L50 MaxDisruptedPodSize = 2000 )
Variables ¶
View Source
var EvictionsRetry = wait.Backoff{ Steps: 20, Duration: 500 * time.Millisecond, Factor: 1.0, Jitter: 0.1, }
EvictionsRetry is the retry for a conflict where multiple clients are making changes to the same resource.
Functions ¶
This section is empty.
Types ¶
type PodEvictionHandler ¶
type PodEvictionHandler struct { Client client.Client Logger logr.Logger // contains filtered or unexported fields }
func (*PodEvictionHandler) InjectDecoder ¶
func (h *PodEvictionHandler) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.