-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rpk self test #599
Rpk self test #599
Conversation
✅ Deploy Preview for redpanda-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-start.adoc
Outdated
Show resolved
Hide resolved
** Latency test: 1024-bit object. | ||
** Depending on cluster read/write permissions (xref:reference:properties/object-storage-properties.adoc#cloud_storage_enable_remote_read[`cloud_storage_enable_remote_read`], xref:reference:properties/object-storage-properties.adoc#cloud_storage_enable_remote_write[`cloud_storage_enable_remote_write`]), a series of cloud storage operations are performed: | ||
*** Upload an object to an object storage. | ||
*** List objects in the object storage. | ||
*** Download an object from the object storage. | ||
*** Delete the original object from the object storage, if it was uploaded. | ||
|
||
This command immediately returns on success, and the tests run asynchronously. The | ||
user polls for results with the xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status] | ||
This command asks for users confirmation (unless when the flag `--no-confirm` is used.), then returns with a test identifier ID, and starts to run the tests run. To see the status and the results pool with the xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command asks for users confirmation (unless when the flag `--no-confirm` is used.), then returns with a test identifier ID, and starts to run the tests run. To see the status and the results pool with the xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status] | |
This command prompts users for confirmation (unless the flag `--no-confirm` is specified), then returns a test identifier ID, and runs the tests. To view the status and the results pool, run xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command asks for users confirmation (unless when the flag `--no-confirm` is used.), then returns with a test identifier ID, and starts to run the tests run. To see the status and the results pool with the xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status] | |
This command prompts users for confirmation (unless the flag `--no-confirm` is specified), then returns a test identifier ID, and runs the tests. | |
To view the test status, poll xref:./rpk-cluster-self-test-status.adoc[rpk cluster self-test status]. Once the tests end, the cached results will be available with `rpk cluster self-test status`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrote to better convey the actual implementation. What happens is that you run the test with rpk cluster self-test start
then the command asks for confirmation. After confirming, it starts and the command stops since the tests run async. To check the status, we have to poll the status with rpk cluster self-test status
.
When the tests finish, the cached results will be displayed on the same command.
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-start.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-start.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-start.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
There's a product issue with the latest output. Waiting for the fix to include the new example output. |
…start.adoc Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Updated with the fix |
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments but no blockers
@@ -1,15 +1,37 @@ | |||
= rpk cluster self-test status | |||
:description: Reference for the 'rpk cluster self-test status' command. Queries the status of the currently running or last completed self-test run. | |||
|
|||
Queries the status of the currently running or last completed self-test run. Returns the status of the currently running or last completed self-test run. | |||
Queries the status of the currently running or last completed self-test run. Returns the status of the currently running or the results of the last completed self-test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the two sentences redundant? Could we do with just one (the second sentence "Returns the status...")?
@@ -3,6 +3,8 @@ | |||
|
|||
Starts one or more benchmark tests on one or more nodes of the cluster. | |||
|
|||
NOTE: Redpanda self-test runs benchmarks of disk and network hardware that consume significant system resources. Do not start self-test if large workloads are already running on the system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if my understanding is wrong -- isn't the self test itself the one that consumes significant resources? This makes it sound like it's the disk/network hardware
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rephrased to make it more simple, and removed the specific tests to make it a bit more future proof.
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-status.adoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com>
modules/reference/pages/rpk/rpk-cluster/rpk-cluster-self-test-start.adoc
Outdated
Show resolved
Hide resolved
Updated with changes made in redpanda-docs here: redpanda-data/docs#599
Updated with changes made in redpanda-docs here: redpanda-data/docs#599
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com> Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com> Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com>
Description
Resolves https://github.com/redpanda-data/documentation-private/issues/2505
Review deadline: July 15
Page previews
Checks