Skip to content

OSDOCS#7103: adding admin guideline for conditional updates#64646

Merged
jab-rh merged 1 commit intoopenshift:mainfrom
skopacz1:OSDOCS-7103
Sep 15, 2023
Merged

OSDOCS#7103: adding admin guideline for conditional updates#64646
jab-rh merged 1 commit intoopenshift:mainfrom
skopacz1:OSDOCS-7103

Conversation

@skopacz1
Copy link
Contributor

@skopacz1 skopacz1 commented Sep 12, 2023

OSDOCS-7103

Versions: 4.14+

This PR adds guidance to users who want to determine whether they should update to a conditional update.

After merging, this content can be backported to earlier versions.

QE review:

  • QE has approved this change.

Preview: Assessing the risk of conditional updates

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 12, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 12, 2023

@skopacz1: This pull request references OSDOCS-7103 which is a valid jira issue.

Details

In response to this:

OSDOCS-7103

Versions: 4.14+

This PR adds guidance to users who want to determine whether they should update to a conditional update.

QE review:

  • QE has approved this change.

Preview:

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/test-infra repository.

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 12, 2023
@ocpdocs-previewbot
Copy link

ocpdocs-previewbot commented Sep 12, 2023

🤖 Updated build preview is available at:
https://64646--docspreview.netlify.app

Build log: https://circleci.com/gh/ocpdocs-previewbot/openshift-docs/24812

@openshift-ci-robot
Copy link

openshift-ci-robot commented Sep 12, 2023

@skopacz1: This pull request references OSDOCS-7103 which is a valid jira issue.

Details

In response to this:

OSDOCS-7103

Versions: 4.14+

This PR adds guidance to users who want to determine whether they should update to a conditional update.

QE review:

  • QE has approved this change.

Preview: Assessing the risk of conditional updates

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/test-infra repository.

@skopacz1 skopacz1 changed the title OSDOCS-7103: adding admin guidline for conditional updates OSDOCS#7103: adding admin guideline for conditional updates Sep 13, 2023
@openshift-ci-robot openshift-ci-robot removed the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 13, 2023
@openshift-ci-robot
Copy link

@skopacz1: No Jira issue is referenced in the title of this pull request.
To reference a jira issue, add 'XYZ-NNN:' to the title of this pull request and request another refresh with /jira refresh.

Details

In response to this:

OSDOCS-7103

Versions: 4.14+

This PR adds guidance to users who want to determine whether they should update to a conditional update.

QE review:

  • QE has approved this change.

Preview: Assessing the risk of conditional updates

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/test-infra repository.

[id="update-preparing-conditional_{context}"]
= Assessing the risk of conditional updates

A conditional update is a supported update target that is available but not recommended due to a known risk that applies to your cluster.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO we should remove the supported word from here. Just A conditional update is an update path that is available but not recommended due to a known risk that applies to your cluster.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What RH supports is a hard question because we do not deny customers support in general irrespective of the situation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing, just wanted to take this opportunity to keep hammering the idea that "just because it doesn't have the word recommended next to it doesn't mean it's unsupported and has to be avoided at all costs", but I can remove the word here

= Assessing the risk of conditional updates

A conditional update is a supported update target that is available but not recommended due to a known risk that applies to your cluster.
The Cluster Version Operator (CVO) periodically queries the OpenShift Update Service (OSUS) for the most recent data about update possibilities, and some potential update targets have conditional risks.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/update possibilities/update recommendations/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/some potential update targets have conditional risks./some potential update targets might have risks associated with them./

A conditional update is a supported update target that is available but not recommended due to a known risk that applies to your cluster.
The Cluster Version Operator (CVO) periodically queries the OpenShift Update Service (OSUS) for the most recent data about update possibilities, and some potential update targets have conditional risks.

These conditional risks are evaluated by the CVO, and if the risk is not applicable to the cluster then the update is available to users as a recommended update.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggested text: and if the risk is not applicable to the cluster then the target version is available as a recommended update path for the cluster.

The Cluster Version Operator (CVO) periodically queries the OpenShift Update Service (OSUS) for the most recent data about update possibilities, and some potential update targets have conditional risks.

These conditional risks are evaluated by the CVO, and if the risk is not applicable to the cluster then the update is available to users as a recommended update.
If the risk is determined to be applicable, or if for some reason CVO cannot evaluate the risk, then the update is available to users as a conditional update.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggested text: then the update target is available to the cluster as a conditional update.

@petr-muller
Copy link
Member

/cc

@skopacz1
Copy link
Contributor Author

@shellyyang1989 could you PTAL when you have a chance? Thanks!

@shellyyang1989
Copy link

Versions: 4.14+

The content looks good to me. Just wonder why we won't apply it to 4.13 and earlier.

Copy link
Member

@petr-muller petr-muller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@skopacz1
Copy link
Contributor Author

@shellyyang1989 sorry, forgot to mention in my comment 0 that I will be backporting it to earlier versions. Ever since my documentation reorg, all assembly level changes to docs for versions 4.13 and earlier need to be done in separate PRs. Thanks for bringing it up!

@skopacz1
Copy link
Contributor Author

/label peer-review-needed

@openshift-ci openshift-ci bot added the peer-review-needed Signifies that the peer review team needs to review this PR label Sep 14, 2023
@lahinson
Copy link
Contributor

/label peer-review-in-progress
/remove-label peer-review-needed

@openshift-ci openshift-ci bot added peer-review-in-progress Signifies that the peer review team is reviewing this PR and removed peer-review-needed Signifies that the peer review team needs to review this PR labels Sep 14, 2023
Copy link
Contributor

@lahinson lahinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skopacz1 Nice work. I left a few suggestions based on IBM Style. Overall, though, LGTM!

/label peer-review-done
/label-remove peer-review-in-progress

These conditional risks are evaluated by the CVO, and if the risk is not applicable to the cluster, then the target version is available as a recommended update path for the cluster.
If the risk is determined to be applicable, or if for some reason CVO cannot evaluate the risk, then the update target is available to the cluster as a conditional update.

When you encounter a conditional update while trying to update to a target version, you must assess the risk of updating your cluster to this version.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When you encounter a conditional update while trying to update to a target version, you must assess the risk of updating your cluster to this version.
When you encounter a conditional update while you are trying to update to a target version, you must assess the risk of updating your cluster to that version.
  • Added "you are" to avoid a dangling modifier.
  • Replaced "this" with "that" because the word "that" seems to more clearly refer back to "the target version". Might just be my personal preference, though.

If the risk is determined to be applicable, or if for some reason CVO cannot evaluate the risk, then the update target is available to the cluster as a conditional update.

When you encounter a conditional update while trying to update to a target version, you must assess the risk of updating your cluster to this version.
Generally, if there is no specific need to update to this target version, it is best to wait for a recommended update path from Red Hat.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Generally, if there is no specific need to update to this target version, it is best to wait for a recommended update path from Red Hat.
Generally, if you do not have a specific need to update to that target version, wait for a recommended update path from Red Hat.

IBM Style suggests rewriting phrases that include there is where possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the intention to remove "it is best to" and to just state the recommended action, per the RHSSG, but I feel that this is one of those scenarios where we are specifically trying to avoid being prescriptive.

The entire module is trying to coach the user on how to make their own decision rather than following any sort of formal instruction, and I'm not sure we want to be on the hook for explicitly telling users to not perform a conditional update. Is it possible to keep this or replace it with similar wording?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skopacz1 Considering the intent of the topic, I think it's okay to leave in the "it is best to". Thanks for the background!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! I'll still reword to avoid "there is"

When you encounter a conditional update while trying to update to a target version, you must assess the risk of updating your cluster to this version.
Generally, if there is no specific need to update to this target version, it is best to wait for a recommended update path from Red Hat.

However, if there is a strong reason to update to this version, for example fixing an important CVE, then the benefit of fixing the CVE may outweigh the risk of the update being problematic for your cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
However, if there is a strong reason to update to this version, for example fixing an important CVE, then the benefit of fixing the CVE may outweigh the risk of the update being problematic for your cluster.
However, if you have a strong reason to update to that version, for example, if you need to fix an important CVE, then the benefit of fixing the CVE might outweigh the risk of the update being problematic for your cluster.
  • Per IBM Style, use may to indicate permission, not ability.
  • I revised the wording around for example per the IBM Style Examples topic.

Generally, if there is no specific need to update to this target version, it is best to wait for a recommended update path from Red Hat.

However, if there is a strong reason to update to this version, for example fixing an important CVE, then the benefit of fixing the CVE may outweigh the risk of the update being problematic for your cluster.
You can perform the following tasks to determine whether you agree with Red Hat's assessment of the update risk:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can perform the following tasks to determine whether you agree with Red Hat's assessment of the update risk:
You can complete the following tasks to determine whether you agree with the Red Hat assessment of the update risk:
  • Because "Red Hat" is a trademarked term, it doesn't take the possessive.
  • Per IBM Style, the term complete is preferred over perform.

However, if there is a strong reason to update to this version, for example fixing an important CVE, then the benefit of fixing the CVE may outweigh the risk of the update being problematic for your cluster.
You can perform the following tasks to determine whether you agree with Red Hat's assessment of the update risk:

* Perform extensive testing in a non-production environment to the extent that you are comfortable performing this update in your production environment.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Perform extensive testing in a non-production environment to the extent that you are comfortable performing this update in your production environment.
* Complete extensive testing in a non-production environment to the extent that you are comfortable completing the update in your production environment.

[id="update-preparing-conditional_{context}"]
= Assessing the risk of conditional updates

A conditional update is an update target that is available but not recommended due to a known risk that applies to your cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A conditional update is an update target that is available but not recommended due to a known risk that applies to your cluster.
A _conditional update_ is an update target that is available but not recommended due to a known risk that applies to your cluster.

From the IBM Style Highlighting topic, words that are being defined or explained are highlighted in italics.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, this is good to know!

A conditional update is an update target that is available but not recommended due to a known risk that applies to your cluster.
The Cluster Version Operator (CVO) periodically queries the OpenShift Update Service (OSUS) for the most recent data about update recommendations, and some potential update targets might have risks associated with them.

These conditional risks are evaluated by the CVO, and if the risk is not applicable to the cluster, then the target version is available as a recommended update path for the cluster.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
These conditional risks are evaluated by the CVO, and if the risk is not applicable to the cluster, then the target version is available as a recommended update path for the cluster.
The CVO evaluates the conditional risks, and if the risks are not applicable to the cluster, then the target version is available as a recommended update path for the cluster.

Revising to use active voice.

@openshift-ci openshift-ci bot added the peer-review-done Signifies that the peer review team has reviewed this PR label Sep 14, 2023
@shellyyang1989
Copy link

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Sep 15, 2023
@skopacz1
Copy link
Contributor Author

/remove-label peer-review-in-progress
/label merge-review-needed

@openshift-ci openshift-ci bot added merge-review-needed Signifies that the merge review team needs to review this PR and removed peer-review-in-progress Signifies that the peer review team is reviewing this PR labels Sep 15, 2023
@jab-rh jab-rh added this to the Planned for 4.14 GA milestone Sep 15, 2023
Copy link
Contributor

@jab-rh jab-rh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skopacz1, left a comment, thanks!


Learn more about administrative tasks that cluster admins must perform to successfully initialize an update, as well as optional guidelines for ensuring a successful update.

== Kubernetes API deprecations and removals
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skopacz1, I believe this needs an id even as a level 2, such as:

[id="{context}_kubernetes-api-deprecations-and-removals"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, thanks!

@jab-rh jab-rh added merge-review-in-progress Signifies that the merge review team is reviewing this PR and removed merge-review-needed Signifies that the merge review team needs to review this PR labels Sep 15, 2023
@jab-rh jab-rh merged commit f38fd03 into openshift:main Sep 15, 2023
@jab-rh
Copy link
Contributor

jab-rh commented Sep 15, 2023

/cherry-pick enterprise-4.14

@openshift-cherrypick-robot

@jab-rh: new pull request created: #64792

Details

In response to this:

/cherry-pick enterprise-4.14

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/test-infra repository.

@jab-rh jab-rh removed the merge-review-in-progress Signifies that the merge review team is reviewing this PR label Sep 15, 2023
@skopacz1 skopacz1 deleted the OSDOCS-7103 branch October 31, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch/enterprise-4.14 peer-review-done Signifies that the peer review team has reviewed this PR qe-approved Signifies that QE has signed off on this PR size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants