Skip to content

add tech preview guidelines - #104

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
bparees:techpreview
Aug 21, 2020
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
bparees:techpreview

Conversation

@bparees

@bparees bparees commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

No description provided.

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 8, 2019
@bparees

bparees commented Nov 8, 2019

Copy link
Copy Markdown
Contributor Author

Comment thread guidelines/techpreview.md Resolved
Comment thread guidelines/techpreview.md
@@ -0,0 +1,97 @@
# What does it mean to be Tech Preview

* You can change APIs that are clearly indicated as tech preview, without following a deprecating or backwards compatibility process.

@wking wking Nov 15, 2019 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is dev-oriented phrasing. But users can read this too, and will also care about what Tech Preview means. Can we land this in openshift-docs instead / as-well? Hunting earlier, I was unable to find a definition there (#114).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

a lot of this is not user facing. so yeah, we can certainly put some of this in the docs once it's agreed upon, but i think we'll need something slightly different for docs vs what we want here for engineers to understand what they need to do.

@bparees

bparees commented Jan 14, 2020

Copy link
Copy Markdown
Contributor Author

@deads2k @derekwaynecarr @smarterclayton can we move this forward?

@russellb russellb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was actually sent a link to this PR by a PM when I was asking a question about Tech Preview. I think we should get this merged and allow ongoing improvements by follow-up PRs.

I left one comment, but it's pretty minor and could be addressed by me sending a follow-up PR.

It does need a rebase at this point, though.

Comment thread guidelines/techpreview.md
allow the upgrade and not fail/crashloop/etc) you can take a more minimal approach to exposing your feature as TP by

1. Requiring the admin to set some field that contains TechPreview to true, such as “EnableTechPreviewFooBar=true” to enable your
feature

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If an entire OLM operator is TechPreview, is documenting it as TechPreview sufficient? The admin already must take a deliberate action to install it, so setting a field like this somewhere doesn't really seem necessary.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't know how common that is, but yes that seems reasonable to me, as long as we are confident that the admin is confronted w/ the fact that the operator is Tech Preview as part of the operator selection/install process.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

adding this bullt:

For OLM operators where the entire operator is considered Tech Preview, clearly describing the operator as Tech Preview(or using a channel with TechPreview in the name) is sufficient as the admin must still take an explicit action to install/enable your operator.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I also wouldn't expect the installation of a tech preview optional operator to necessarily require the whole cluster be un-upgradeable. Maybe in some exceptional cases, but for the most part installing these operators shouldn't impact the underlying clusters ability to upgrade itself.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jwforres so this option is listed under the section described as:

If you are confident in the API (or your TP Feature does not require API changes), and you are prepared to allow upgrades for 
customers who enabled this feature (you do not have to keep the TP feature working during/after the upgrade, but you have to 
allow the upgrade and not fail/crashloop/etc) you can take a more minimal approach to exposing your feature as TP

so are you just agreeing w/ the new bullet(1.1), or were you looking for a different statement?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The updated text you added sounds good to me. Thank you!

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 18, 2020
@bparees
bparees force-pushed the techpreview branch 2 times, most recently from 33dc9e4 to 3f6fe75 Compare August 18, 2020 13:56
@bparees bparees changed the title add tech preview guidelines, minor file reshuffling add tech preview guidelines Aug 18, 2020
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 18, 2020
@bparees
bparees force-pushed the techpreview branch 2 times, most recently from 82d29cb to a7bc235 Compare August 18, 2020 13:58
@bparees

bparees commented Aug 18, 2020

Copy link
Copy Markdown
Contributor Author

@derekwaynecarr @smarterclayton @jwforres good enough as a stake in the ground?

Comment thread guidelines/techpreview.md Resolved
Comment thread guidelines/techpreview.md
allow the upgrade and not fail/crashloop/etc) you can take a more minimal approach to exposing your feature as TP by

1. Requiring the admin to set some field that contains TechPreview to true, such as “EnableTechPreviewFooBar=true” to enable your
feature

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I also wouldn't expect the installation of a tech preview optional operator to necessarily require the whole cluster be un-upgradeable. Maybe in some exceptional cases, but for the most part installing these operators shouldn't impact the underlying clusters ability to upgrade itself.

@russellb

Copy link
Copy Markdown
Contributor

I think this is ready to merge and further improvements can come in as follow-up PRs. @jwforres agree?

@russellb

Copy link
Copy Markdown
Contributor

I think this is ready to merge and further improvements can come in as follow-up PRs. @jwforres agree?

I pinged @jwforres out-of-band about this.

/lgtm

@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, russellb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 21, 2020
@openshift-merge-robot
openshift-merge-robot merged commit a46aab4 into openshift:master Aug 21, 2020
@bparees
bparees deleted the techpreview branch October 24, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. 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.

7 participants