Custom Resource Definition Properties
Spec
Schema
resourceSelection:
resourceKind: string
policy:
storageSettings:
requireRegionalStorage: boolean
failoverSettings:
forceDeleteStrategy: string
afterNodeUnreachable:
afterNodeUnreachableSeconds: int
Fields | |
---|---|
Optional |
ResourceSelection specifies the resources belonging to this HighAvailabilityApplication. The HighAvailabilityApplication will look for a resource with the same name and namespace as itself. |
Optional |
ResourceKind specifies the kind of resources included in this component. Possible values: ["StatefulSet"] |
Optional |
Policy defines the high availability characteristics of this application |
Optional |
StorageSettings defines the high availability characteristics of this application. |
Optional |
RequireRegionalStorage enforces regional storage when using a HighAvailabilityApplication. |
Optional |
FailoverSettings defines the failover settings when an application pod encounters an error. |
Optional |
forceDeleteStrategy determines how force delete is triggered on node failure. Possible values: ["AfterNodeUnreachable"] |
Optional |
Configuration for a force delete strategy of "AfterNodeUnreachable". Should only be set when type is equal to AfterNodeUnreachable. |
Required* |
AfterNodeUnreachableSeconds is the timeout to force delete a pod after the node it is running on is marked as unreachable. |
* Field is required when parent field is specified
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
Fields | |
---|---|
conditions |
Conditions represent the latest available observation of the resource's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |