opsrule
Schema OpsRule
OpsRule describes operation rules for various Day-2 Operations. Once declared, these
operation rules will be checked before any Day-2 operations.
Attributes
Name and Description | Type | Default Value | Required |
---|---|---|---|
maxUnavailable The maximum percentage of the total pod instances in the component that can be simultaneously unhealthy. | int | str | Undefined | optional |
Examples
import catalog.models.schema.v1.component.trait as t
opsRule = t.OpsRule {
maxUnavailable: "30%"
}