Repository navigation
add tech preview guidelines - #104
Conversation
|
@derekwaynecarr @smarterclayton @deads2k I think we got to a decent state in https://docs.google.com/document/d/1l7tJKaelAS23Mo6vmyM5P5I_jq0S5cSDegLL4LIpTP8/edit# so trying to make it official here. |
| @@ -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. | |||
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.
|
@deads2k @derekwaynecarr @smarterclayton can we move this forward? |
russellb
left a comment
There was a problem hiding this comment.
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.
| 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
@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?
There was a problem hiding this comment.
The updated text you added sounds good to me. Thank you!
33dc9e4 to
3f6fe75
Compare
82d29cb to
a7bc235
Compare
|
@derekwaynecarr @smarterclayton @jwforres good enough as a stake in the ground? |
| 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 |
There was a problem hiding this comment.
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.
|
I think this is ready to merge and further improvements can come in as follow-up PRs. @jwforres agree? |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
No description provided.