API Group | Version | Kind |
---|---|---|
kubirds.com | v1 | Inhibitor |
Name | Type | Description |
---|---|---|
spec | InhibitorSpec | Specification of the desired behavior |
status | InhibitorStatus | Status filled by the operator |
Name | Type | Description |
---|---|---|
schedule | string | Describe when the unit must be inhibited. RRule in human readable format or standard format (see RRule Spec), ie: every 5 minutes |
duration | string | Describe how long the unit must be inhibited, ie: 1 hour |
startDate | string | Describe the beginning of the schedule, ISO formated date and time |
unitSelector | Map | Kubernetes labels used to select units to inhibit |
emptySelectorBehavior | EmptySelectorBehavior | Describe the unit selection behavior when the selector is empty |
One of:
MatchAll
: will match all unitsMatchNone
: will match no unitsIf not set, this defaults to MatchAll
.
Name | Type | Description |
---|---|---|
phase | AdmissionPhase | Current status of the Inhibitor admission workflow |
failureReasons | string array | Errors encountered during the Inhibitor admission workflow |
One of:
Accepted
Rejected