-
Notifications
You must be signed in to change notification settings - Fork 1.8k
WIP: Dummy content for a new peer reviewer to practice #63087
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,59 @@ | ||||||||||
| // Module included in the following assemblies: | ||||||||||
| // Epic CNF-792 (4.8) | ||||||||||
|
|
||||||||||
| = Gathering data about your cluster using the must-gather command | ||||||||||
|
|
||||||||||
| The Performance Profile Creator (PPC) tool requires `must-gather` data. As a cluster administrator, run the must-gather command to capture information about your cluster. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| .Prerequisites | ||||||||||
|
|
||||||||||
| * Access to the cluster as a user with the `cluster-admin` role. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| * The OpenShift CLI installed. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
|
||||||||||
| .Procedure | ||||||||||
|
|
||||||||||
| . Optional: Verify that a matching machine config pool exists with a label: | ||||||||||
| + | ||||||||||
| [source,terminal] | ||||||||||
| ---- | ||||||||||
| oc describe mcp/worker-rt | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. At the start of the command, the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| ---- | ||||||||||
| + | ||||||||||
| [source,bash] | ||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| ---- | ||||||||||
| Name: worker-rt | ||||||||||
| Namespace: | ||||||||||
| Labels: machineconfiguration.openshift.io/role=worker-rt | ||||||||||
| ---- | ||||||||||
|
|
||||||||||
| . If a matching label does not exist add a label for a machine config pool (MCP) that matches with the MCP name: | ||||||||||
| + | ||||||||||
| [source,terminal,subs="+quotes"] | ||||||||||
| ---- | ||||||||||
| $ oc label mcp _<mcp-name>_ _<mcp_name>_="" | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| ---- | ||||||||||
|
|
||||||||||
| . Navigate to the directory where you want to store the `must-gather` data. | ||||||||||
|
|
||||||||||
| . Collect cluster information by running the following command. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| + | ||||||||||
| [source,terminal] | ||||||||||
| ---- | ||||||||||
| oc adm must-gather | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| ---- | ||||||||||
|
|
||||||||||
| . (Optional)- Create a compressed file from the must-gather directory: | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| + | ||||||||||
| [source,terminal] | ||||||||||
| ---- | ||||||||||
| $ tar cvaf must-gather.tar.gz must-gather/ | ||||||||||
| ---- | ||||||||||
| + | ||||||||||
| [NOTE] | ||||||||||
| ==== | ||||||||||
| Compressed output is required if you are running the Performance Profile Creator wrapper script. | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When using the term for the first time in the module use the abbreviation in parenthesis. |
||||||||||
| ==== | ||||||||||
|
|
||||||||||
| xref:/machine_management/manually-scaling-machineset.adoc#machineset-manually-scaling_manually-scaling-machineset[test] | ||||||||||
|
|
||||||||||
| xref:modules/about-administrator-perspective.adoc | ||||||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||
| // Module included in the following assemblies: | ||||||
| // Epic CNF-792 (4.8) | ||||||
| // * scalability_and_performance/cnf-create-performance-profiles.adoc | ||||||
|
|
||||||
| :_content-type: CONCEPT | ||||||
| [id="cnf-about-the-profile-creator-tool"] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. {context} is missing |
||||||
| = About the Performance Profile Creator | ||||||
|
|
||||||
| The PPC is a command-line tool, delivered with the Node Tuning Operator, used to create the performance profile. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| The tool consumes `must-gather` data from the cluster and several user-supplied profile arguments. The PPC generates a performance profile that is appropriate for your hardware and topology. | ||||||
|
|
||||||
| The tool is executed by one of the following methods: | ||||||
|
|
||||||
| * Invoking `podman`. | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
See IBM Style for https://www.ibm.com/docs/en/ibm-style?topic=format-lists#punctuation-in-lists
|
||||||
|
|
||||||
| * Calling a wrapper script. | ||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,23 @@ | ||||||||||||
| [id="cnf-create-performance-profiles] | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The content type for the file. Replace with the actual type of the module, CONCEPT, REFERENCE, or PROCEDURE. Place this attribute before the anchor ID or, if present, the conditional that contains the anchor ID.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
ID is missing closing quote |
||||||||||||
| = Creating a performance profile | ||||||||||||
| include::_attributes/common-attributes.adoc | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
|
|
||||||||||||
| Learn about the PPC and how you can use it to create a performance profile. | ||||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Expand on first use |
||||||||||||
|
|
||||||||||||
| [NOTE] | ||||||||||||
| ==== | ||||||||||||
| Currently, disabling CPU load balancing is not supported by cgroup v2. As a result, | ||||||||||||
| you might not get the desired behavior from performance profiles if you have cgroup v2 enabeld. Enabling cgroup v2 is not recommended if you are using performace profiles. | ||||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove hard wrapping |
||||||||||||
| ==== | ||||||||||||
|
|
||||||||||||
| include::modules/dummy-module-xyz.adoc[leveloffset=+1] | ||||||||||||
|
|
||||||||||||
| include::modules/dummy-module-abc.adoc[leveloffset=] | ||||||||||||
|
|
||||||||||||
|
|
||||||||||||
| [role="_additional-resources"] | ||||||||||||
| = Additional Resources | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
You must provide
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use h2. each module should have only a single h1 |
||||||||||||
| * For more information about the `must-gather` tool, | ||||||||||||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove hard wrapping and see OCP doc guidelines for https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#additional-resources-sections
|
||||||||||||
| see xref:../support/gathering-cluster-data.adoc#nodes-nodes-managing[Gathering data about your cluster]. | ||||||||||||
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.
add a comment about the assembly where this module is used