-
Notifications
You must be signed in to change notification settings - Fork 1.8k
TELCODOCS#2230: Coordinating reboots for configuration changes #91723
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
TELCODOCS#2230: Coordinating reboots for configuration changes #91723
Conversation
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.
Suggested conditionals for trial as per #91723 (comment)
00e1010
to
d439288
Compare
d439288
to
735afd2
Compare
735afd2
to
5112fd9
Compare
5112fd9
to
8563776
Compare
8563776
to
3cb3e72
Compare
3cb3e72
to
bca86ff
Compare
/label peer-review-needed |
/label peer-review-in-progress |
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.
LGTM
/label peer-review-done |
b49772f
to
1ff4b94
Compare
@sr1kar99: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/lgtm |
/label merge-review-needed |
/label merge-review-in-progress |
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.
I left a few style and minimalism nits that do not block merging. Please consider addressing these comments in a follow up PR. Great work.
<2> Add all required configuration policies before the reboot policy. {cgu-operator} applies the configuration changes as specified in the policies, in the order they are listed. | ||
<3> Specify the timeout in seconds for the entire upgrade across all selected clusters. Set this field by considering the worst-case scenario. | ||
|
||
. After you apply the CGU custom resource, {cgu-operator} rolls out the configuration policies in order. Once all policies are compliant, it applies the reboot policy and triggers a reboot of all nodes in the specified `MachineConfigPool`. |
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 isn't really a step that the customer performs. This is a consequence of applying the CR.
This is not a merge blocker, but in a follow up PR, I recommend explicitly adding the oc apply -f
command and then you can include this information below the procedure step, similar to the following example:
. After you apply the CGU custom resource, {cgu-operator} rolls out the configuration policies in order. Once all policies are compliant, it applies the reboot policy and triggers a reboot of all nodes in the specified `MachineConfigPool`. | |
. Apply the CGU CR by entering the following command: | |
+ | |
[source,terminal] | |
---- | |
$ oc apply -f <cgu_cr>.yaml | |
---- | |
+ | |
After you apply the CGU custom resource, {cgu-operator} rolls out the configuration policies in order. Once all policies are compliant, it applies the reboot policy and triggers a reboot of all nodes in the specified machine config pool. |
Also, when you use a generic reference to an API object, as you do in the previous sentence, the guidance is to drop the camel case and backticks, hence "machine config pool". If you are referring to the specific API object, which you can do but I don't think is necessary, then MachineConfigPool
should be followed by a noun such as object or resource. See the repo guidelines for more information: https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#api-object-formatting
. Monitor the CGU rollout status. | ||
+ | ||
You can monitor the rollout of the CGU custom resource on the hub by checking the status. Verify the successful rollout of the reboot by running the following command: |
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.
Not a blocker, but the first part of the step is fluff and can be cut:
. Monitor the CGU rollout status. | |
+ | |
You can monitor the rollout of the CGU custom resource on the hub by checking the status. Verify the successful rollout of the reboot by running the following command: | |
. You can monitor the rollout of the CGU custom resource on the hub by checking the status. Verify the successful rollout of the reboot by running the following command: |
. Verify successful reboot on a specific node. | ||
+ |
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.
Same comment as above, this section is fluff and can be deleted. Not a merge blocker.
|
||
. Verify successful reboot on a specific node. | ||
+ | ||
To confirm that the reboot was successful on a specific node, check the status of the `MachineConfigPool` (MCP) for the node by running the following command: |
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.
Similar to the comment above, to conform with the rules around API objects, the correct usage is "MachineConfigPool
" or simply "machine config pool". Not a merge blocker.
/cherrypick enterprise-4.19 |
@michaelryanpeter: new pull request created: #92789 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Version(s):
4.19
Issue:
TELCODOCS-2230
Link to docs preview:
QE review: