Files
troubleshoot/testdata/goldpinger/checkall-with-error.json
Evans Mungai 53113c0170 feat: goldpinger collector and analyser (#1398)
* feat: goldpinger analyser

Analyser to generate a report from goldpinger results

* Add goldpinger testdata

* Goldpinger collector

* Improvements after running tests

* More minor updates after further testing

* Better error message if a container fails to start

* A few more updates

* Add goldpinger e2e test

* Update schemas

* Clean up help installs in e2e tests

* Add resource limits to goldpinger pods

* Some minor improvements

* Some more changes noted when writing docs

* Update schemas

* A few more updates when testing with kURL

* Log goldpinger tests

* Tests before exit code
2023-12-12 11:02:41 +00:00

132 lines
5.0 KiB
JSON

{
"hosts": [
{
"hostIP": "100.64.0.1",
"podIP": "10.32.0.9",
"podName": "goldpinger-4hctt"
},
{
"hostIP": "100.64.0.2",
"podIP": "10.32.1.2",
"podName": "goldpinger-tbdsb"
},
{
"hostIP": "100.64.0.3",
"podIP": "10.32.2.2",
"podName": "goldpinger-jj9mw"
}
],
"responses": {
"goldpinger-4hctt": {
"HostIP": "100.64.0.1",
"OK": true,
"PodIP": "10.32.0.9",
"response": {
"podResults": {
"goldpinger-4hctt": {
"HostIP": "100.64.0.1",
"OK": true,
"PingTime": "2023-12-06T16:45:41.971Z",
"PodIP": "10.32.0.9",
"response": {
"boot_time": "2023-12-06T14:13:58.540Z"
},
"status-code": 200
},
"goldpinger-jj9mw": {
"HostIP": "100.64.0.3",
"OK": false,
"PingTime": "2023-12-06T16:45:22.113Z",
"PodIP": "10.32.2.2",
"error": "Get \"http://10.32.2.2:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
},
"goldpinger-tbdsb": {
"HostIP": "100.64.0.2",
"OK": false,
"PingTime": "2023-12-06T16:45:23.265Z",
"PodIP": "10.32.1.2",
"error": "Get \"http://10.32.1.2:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
}
}
}
},
"goldpinger-jj9mw": {
"HostIP": "100.64.0.3",
"OK": true,
"PodIP": "10.32.2.2",
"response": {
"podResults": {
"goldpinger-4hctt": {
"HostIP": "100.64.0.1",
"OK": false,
"PingTime": "2023-12-06T16:45:38.170Z",
"PodIP": "10.32.0.9",
"error": "Get \"http://10.32.0.9:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
},
"goldpinger-jj9mw": {
"HostIP": "100.64.0.3",
"OK": true,
"PingTime": "2023-12-06T16:45:15.316Z",
"PodIP": "10.32.2.2",
"response": {
"boot_time": "2023-12-06T14:17:08.210Z"
},
"status-code": 200
},
"goldpinger-tbdsb": {
"HostIP": "100.64.0.2",
"OK": false,
"PingTime": "2023-12-06T16:45:15.977Z",
"PodIP": "10.32.1.2",
"error": "Get \"http://10.32.1.2:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
}
}
}
},
"goldpinger-tbdsb": {
"HostIP": "100.64.0.2",
"OK": true,
"PodIP": "10.32.1.2",
"response": {
"podResults": {
"goldpinger-4hctt": {
"HostIP": "100.64.0.1",
"OK": false,
"PingTime": "2023-12-06T16:45:14.628Z",
"PodIP": "10.32.0.9",
"error": "Get \"http://10.32.0.9:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
},
"goldpinger-jj9mw": {
"HostIP": "100.64.0.3",
"OK": false,
"PingTime": "2023-12-06T16:45:42.398Z",
"PodIP": "10.32.2.2",
"error": "Get \"http://10.32.2.2:80/ping\": context deadline exceeded",
"response-time-ms": 300,
"status-code": 504
},
"goldpinger-tbdsb": {
"HostIP": "100.64.0.2",
"OK": true,
"PingTime": "2023-12-06T16:45:15.259Z",
"PodIP": "10.32.1.2",
"response": {
"boot_time": "2023-12-06T14:17:03.586Z"
},
"status-code": 200
}
}
}
}
}
}