consul/command/operator/autopilot/state/testdata/ce/json.golden

67 lines
2.1 KiB
Plaintext
Raw Normal View History

{
"Healthy": true,
"FailureTolerance": 1,
"OptimisticFailureTolerance": 0,
"Servers": {
"79324811-9588-4311-b208-f272e38aaabf": {
"ID": "79324811-9588-4311-b208-f272e38aaabf",
"Name": "node1",
"Address": "198.18.0.1:8300",
"NodeStatus": "alive",
"Version": "1.9.0",
"LastContact": "0s",
"LastTerm": 3,
"LastIndex": 42,
"Healthy": true,
"StableSince": "2020-11-06T14:51:00Z",
"ReadReplica": false,
"Status": "leader",
"Meta": {
"foo": "bar"
},
"NodeType": "voter"
},
"ae84aefb-a303-4734-8739-5c102d4ee2d9": {
"ID": "ae84aefb-a303-4734-8739-5c102d4ee2d9",
"Name": "node3",
"Address": "198.18.0.3:8300",
"NodeStatus": "alive",
"Version": "1.9.0",
"LastContact": "2ms",
"LastTerm": 3,
"LastIndex": 39,
"Healthy": true,
"StableSince": "2020-11-06T14:53:00Z",
"ReadReplica": false,
"Status": "voter",
"Meta": {
"baz": "foo"
},
"NodeType": "voter"
},
"ef8aee9a-f9d6-4ec4-b383-aac956bdb80f": {
"ID": "ef8aee9a-f9d6-4ec4-b383-aac956bdb80f",
"Name": "node2",
"Address": "198.18.0.2:8300",
"NodeStatus": "alive",
"Version": "1.9.0",
"LastContact": "1ms",
"LastTerm": 3,
"LastIndex": 41,
"Healthy": true,
"StableSince": "2020-11-06T14:52:00Z",
"ReadReplica": false,
"Status": "voter",
"Meta": {
"bar": "baz"
},
"NodeType": "voter"
}
},
"Leader": "79324811-9588-4311-b208-f272e38aaabf",
"Voters": [
"79324811-9588-4311-b208-f272e38aaabf",
"ef8aee9a-f9d6-4ec4-b383-aac956bdb80f",
"ae84aefb-a303-4734-8739-5c102d4ee2d9"
]
}