Skip to main content
Version: v0.9

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 | strUndefinedoptional

Examples

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

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