Skip to main content
Version: v0.10

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 DescriptionTypeDefault ValueRequired
maxUnavailable
The maximum percentage of the total pod instances in the component that can be
simultaneously unhealthy.
int | str"25%"optional

Examples

import catalog.models.schema.v1.trait as t

opsRule : t.OpsRule {
maxUnavailable: "30%"
}