Files
troubleshoot/testdata/goldpinger/checkall-one-pod.json
Evans Mungai 83f02f4705 feat: Install goldpinger daemonset if one does not exist when running goldpinger collector (#1619)
* feat: Install goldpinger if one does not exist when running goldpinger collector

- Deploy golpinger daemonset if one is not detected in the cluster
- Clean up all deployed resources
- Add delay to allow users to wait for goldpinger to perform checks

Signed-off-by: Evans Mungai <evans@replicated.com>

* Add missing test data file

Signed-off-by: Evans Mungai <evans@replicated.com>

* Better naming of create resource functions

Signed-off-by: Evans Mungai <evans@replicated.com>

---------

Signed-off-by: Evans Mungai <evans@replicated.com>
2024-09-24 17:17:14 +01:00

30 lines
852 B
JSON

{
"hosts": [
{
"hostIP": "172.18.0.3",
"podIP": "10.42.0.17",
"podName": "gp-goldpinger-xn9rg"
}
],
"responses": {
"gp-goldpinger-xn9rg": {
"HostIP": "172.18.0.3",
"OK": true,
"PodIP": "10.42.0.17",
"response": {
"podResults": {
"gp-goldpinger-xn9rg": {
"HostIP": "172.18.0.3",
"OK": true,
"PingTime": "2024-09-24T07:10:10.431Z",
"PodIP": "10.42.0.17",
"response": {
"boot_time": "2024-09-24T07:09:40.411Z"
},
"status-code": 200
}
}
}
}
}
}