47 lines
2.0 KiB
JSON
47 lines
2.0 KiB
JSON
{
|
|
"description": "FailoverQuorum contains the information about the current failover\nquorum status of a PG cluster. It is updated by the instance manager\nof the primary node and reset to zero by the operator to trigger\nan update.",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"status": {
|
|
"description": "Most recently observed status of the failover quorum.",
|
|
"properties": {
|
|
"method": {
|
|
"description": "Contains the latest reported Method value.",
|
|
"type": "string"
|
|
},
|
|
"primary": {
|
|
"description": "Primary is the name of the primary instance that updated\nthis object the latest time.",
|
|
"type": "string"
|
|
},
|
|
"standbyNames": {
|
|
"description": "StandbyNames is the list of potentially synchronous\ninstance names.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"standbyNumber": {
|
|
"description": "StandbyNumber is the number of synchronous standbys that transactions\nneed to wait for replies from.",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"required": [
|
|
"metadata"
|
|
],
|
|
"type": "object"
|
|
}
|