Add the option to record start durations for crc cluster #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Assumption is that CRC binary is present on the PATH and bundle & pull-secret paths are known.
Usage (the new part):
will produce a file
./data/startTimes.json
with a list of entries representing the start durations for each of the 10 starts of CRC, such as:With
-r
option,-b
and-p
flags are also needed, while-s
is ignored. The tool basically has 2 modes now (cannot be run simultaneously with one command). First mode is start/stop duration, second mode is the rest of the monitoring. The latter requires a running cluster, so it's incompatible with the purpose of the first mode. Right now, if-r
option is provided, only start/stop will be run. If-r
option is not provided, only monitoring will be run.If run using the crc binary from https://github.com/jsliacan/crc/tree/timeouts, the start times will include waiting for cluster readiness up to 30mins.