ClusterHealthPolicies Class

Health policies to evaluate cluster health.

Inheritance
ClusterHealthPolicies

Constructor

ClusterHealthPolicies(*, application_health_policy_map=None, cluster_health_policy=None, **kwargs)

Parameters

application_health_policy_map
list[ApplicationHealthPolicyMapItem]
Required

Defines a map that contains specific application health policies for different applications. Each entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health. If an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest). The map is empty by default.

cluster_health_policy
ClusterHealthPolicy
Required

Defines a health policy used to evaluate the health of the cluster or of a cluster node.