|
1 |
| -# <Title of Proposal> |
| 1 | +--- |
| 2 | +title: Neat-proposals-Idea |
| 3 | +authors: |
| 4 | + - "@janedoe" |
| 5 | +reviewers: |
| 6 | + - TBD |
| 7 | + - "@alicedoe" |
| 8 | +approvers: |
| 9 | + - TBD |
| 10 | + - "@oscardoe" |
| 11 | +creation-date: yyyy-mm-dd |
| 12 | +last-updated: yyyy-mm-dd |
| 13 | +status: provisional|implementable|implemented|deferred|rejected|withdrawn|replaced |
| 14 | +see-also: |
| 15 | + - "/proposals/this-other-neat-thing.md" |
| 16 | +replaces: |
| 17 | + - "/proposals/that-less-than-great-idea.md" |
| 18 | +superseded-by: |
| 19 | + - "/proposals/our-past-effort.md" |
| 20 | +--- |
2 | 21 |
|
3 |
| -Implementation Owner: < github username > |
4 |
| -Status: Draft |
| 22 | +# Title |
5 | 23 |
|
6 |
| -[Background](#Background) |
7 |
| -[Goals](#Goals) |
8 |
| -[Design overview](#Design_overview) |
9 |
| -[User facing usage](#User_facing_usage) |
10 |
| -[Observations and open questions](#Observations_and_open_questions) |
| 24 | +This is the title of the enhancement. Keep it simple and descriptive. A good |
| 25 | +title can help communicate what the enhancement is and should be considered as |
| 26 | +part of any review. |
11 | 27 |
|
12 |
| -## Background |
| 28 | +To get started with this template: |
| 29 | +1. **Pick a domain.** Find the appropriate domain to discuss your enhancement. |
| 30 | +1. **Make a copy of this template.** Copy this template into the directory for |
| 31 | + the domain. |
| 32 | +1. **Fill out the "overview" sections.** This includes the Summary and |
| 33 | + Motivation sections. These should be easy and explain why the community |
| 34 | + should desire this enhancement. |
| 35 | +1. **Create a PR.** Assign it to folks with expertise in that domain to help |
| 36 | + sponsor the process. |
| 37 | +1. **Merge at each milestone.** Merge when the design is able to transition to a |
| 38 | + new status (provisional, implementable, implemented, etc.). View anything |
| 39 | + marked as `provisional` as an idea worth exploring in the future, but not |
| 40 | + accepted as ready to execute. Anything marked as `implementable` should |
| 41 | + clearly communicate how an enhancement is coded up and delivered. If an |
| 42 | + enhancement describes a new deployment topology or platform, include a |
| 43 | + logical description for the deployment, and how it handles the unique aspects |
| 44 | + of the platform. Aim for single topic PRs to keep discussions focused. If you |
| 45 | + disagree with what is already in a document, open a new PR with suggested |
| 46 | + changes. |
13 | 47 |
|
14 |
| -< A paragraph or two on the background problem or missing feature on why this is needed. > |
| 48 | +The `Metadata` section above is intended to support the creation of tooling |
| 49 | +around the enhancement process. |
| 50 | + |
| 51 | +## Release Signoff Checklist |
| 52 | + |
| 53 | +- \[ \] Enhancement is `implementable` |
| 54 | +- \[ \] Design details are appropriately documented from clear requirements |
| 55 | +- \[ \] Test plan is defined |
| 56 | +- \[ \] Graduation criteria for dev preview, tech preview, GA |
| 57 | +- \[ \] User-facing documentation is created in [operator-sdk/doc][operator-sdk-doc] |
| 58 | + |
| 59 | +## Open Questions (optional) |
| 60 | + |
| 61 | +This is where to call out areas of the design that require closure before deciding |
| 62 | +to implement the design. For instance, |
| 63 | + > 1. This requires exposing previously private resources which contain sensitive |
| 64 | + information. Can we do this? |
| 65 | + |
| 66 | +## Summary |
| 67 | + |
| 68 | +The `Summary` section is incredibly important for producing high quality |
| 69 | +user-focused documentation such as release notes or a development roadmap. It |
| 70 | +should be possible to collect this information before implementation begins in |
| 71 | +order to avoid requiring implementors to split their attention between writing |
| 72 | +release notes and implementing the feature itself. |
| 73 | + |
| 74 | +A good summary is probably at least a paragraph in length. |
| 75 | + |
| 76 | +## Motivation |
| 77 | + |
| 78 | +This section is for explicitly listing the motivation, goals and non-goals of |
| 79 | +this proposal. Describe why the change is important and the benefits to users. |
15 | 80 |
|
16 | 81 | ## Goals
|
17 | 82 |
|
18 |
| -< Short list of goals of this proposal > |
| 83 | +List the specific goals of the proposal. How will we know that this has succeeded? |
| 84 | + |
| 85 | +### Non-Goals |
| 86 | + |
| 87 | +What is out of scope for this proposal? Listing non-goals helps to focus discussion |
| 88 | +and make progress. |
| 89 | + |
| 90 | +## Proposal |
| 91 | + |
| 92 | +This is where we get down to the nitty gritty of what the proposal actually is. |
| 93 | + |
| 94 | +### User Stories (optional) |
| 95 | + |
| 96 | +Detail the things that people will be able to do if this is implemented. |
| 97 | +Include as much detail as possible so that people can understand the "how" of |
| 98 | +the system. The goal here is to make this feel real for users without getting |
| 99 | +bogged down. |
| 100 | + |
| 101 | +#### Story 1 |
| 102 | + |
| 103 | +#### Story 2 |
| 104 | + |
| 105 | +### Implementation Details/Notes/Constraints (optional) |
| 106 | + |
| 107 | +What are the caveats to the implementation? What are some important details that |
| 108 | +didn't come across above. Go in to as much detail as necessary here. This might |
| 109 | +be a good place to talk about core concepts and how they releate. |
| 110 | + |
| 111 | +### Risks and Mitigations |
| 112 | + |
| 113 | +What are the risks of this proposal and how do we mitigate. Think broadly. For |
| 114 | +example, consider both security and how this will impact the larger OKD |
| 115 | +ecosystem. |
| 116 | + |
| 117 | +How will security be reviewed and by whom? How will UX be reviewed and by whom? |
| 118 | + |
| 119 | +Consider including folks that also work outside your immediate sub-project. |
| 120 | + |
| 121 | +## Design Details |
| 122 | + |
| 123 | +### Test Plan |
| 124 | + |
| 125 | +**Note:** *Section not required until targeted at a release.* |
| 126 | + |
| 127 | +Consider the following in developing a test plan for this enhancement: |
| 128 | +- Will there be e2e and integration tests, in addition to unit tests? |
| 129 | +- How will it be tested in isolation vs with other components? |
| 130 | + |
| 131 | +No need to outline all of the test cases, just the general strategy. Anything |
| 132 | +that would count as tricky in the implementation and anything particularly |
| 133 | +challenging to test should be called out. |
| 134 | + |
| 135 | +All code is expected to have adequate tests (eventually with coverage |
| 136 | +expectations). |
| 137 | + |
| 138 | +### Graduation Criteria |
| 139 | + |
| 140 | +**Note:** *Section not required until targeted at a release.* |
| 141 | + |
| 142 | +Define graduation milestones. |
| 143 | + |
| 144 | +These may be defined in terms of API maturity, or as something else. Initial proposal |
| 145 | +should keep this high-level with a focus on what signals will be looked at to |
| 146 | +determine graduation. |
| 147 | + |
| 148 | +Consider the following in developing the graduation criteria for this |
| 149 | +enhancement: |
| 150 | +- Maturity levels - `Dev Preview`, `Tech Preview`, `GA` |
| 151 | +- Deprecation |
| 152 | + |
| 153 | +Clearly define what graduation means. |
| 154 | + |
| 155 | +#### Examples |
| 156 | + |
| 157 | +These are generalized examples to consider, in addition to the aforementioned maturity levels(`Dev Preview`, `Tech Preview`, `GA`). |
| 158 | + |
| 159 | +##### Dev Preview -> Tech Preview |
| 160 | + |
| 161 | +- Ability to utilize the enhancement end to end |
| 162 | +- End user documentation, relative API stability |
| 163 | +- Sufficient test coverage |
| 164 | +- Gather feedback from users rather than just developers |
| 165 | + |
| 166 | +##### Tech Preview -> GA |
| 167 | + |
| 168 | +- More testing (upgrade, downgrade, scale) |
| 169 | +- Sufficient time for feedback |
| 170 | +- Available by default |
| 171 | + |
| 172 | +**For non-optional features moving to GA, the graduation criteria must include |
| 173 | +end to end tests.** |
| 174 | + |
| 175 | +##### Removing a deprecated feature |
| 176 | + |
| 177 | +- Announce deprecation and support policy of the existing feature |
| 178 | +- Deprecate the feature |
| 179 | + |
| 180 | +### Upgrade / Downgrade Strategy |
| 181 | + |
| 182 | +If applicable, how will the component be upgraded and downgraded? Make sure this |
| 183 | +is in the test plan. |
| 184 | + |
| 185 | +Consider the following in developing an upgrade/downgrade strategy for this |
| 186 | +enhancement: |
| 187 | +- What changes (in invocations, configurations, API use, etc.) is an existing |
| 188 | + cluster required to make on upgrade in order to keep previous behavior? |
| 189 | +- What changes (in invocations, configurations, API use, etc.) is an existing |
| 190 | + cluster required to make on upgrade in order to make use of the enhancement? |
| 191 | + |
| 192 | +### Version Skew Strategy |
| 193 | + |
| 194 | +How will the component handle version skew with other components? |
| 195 | +What are the guarantees? Make sure this is in the test plan. |
| 196 | + |
| 197 | +Consider the following in developing a version skew strategy for this |
| 198 | +enhancement: |
| 199 | +- During an upgrade, we will always have skew among components, how will this impact your work? |
| 200 | +- Does this enhancement involve coordinating behavior in the control plane and |
| 201 | + in the kubelet? How does an n-2 kubelet without this feature available behave |
| 202 | + when this feature is used? |
| 203 | +- Will any other components on the node change? For example, changes to CSI, CRI |
| 204 | + or CNI may require updating that component before the kubelet. |
| 205 | + |
| 206 | +## Implementation History |
| 207 | + |
| 208 | +Major milestones in the life cycle of a proposal should be tracked in `Implementation |
| 209 | +History`. |
| 210 | + |
| 211 | +## Drawbacks |
| 212 | + |
| 213 | +The idea is to find the best form of an argument why this enhancement should _not_ be implemented. |
19 | 214 |
|
20 |
| -## Design overview |
| 215 | +## Alternatives |
21 | 216 |
|
22 |
| -< Design of how the proposal architecture implementation would look like. > |
| 217 | +Similar to the `Drawbacks` section the `Alternatives` section is used to |
| 218 | +highlight and record other possible approaches to delivering the value proposed |
| 219 | +by an enhancement. |
23 | 220 |
|
24 |
| -## User facing usage (if needed) |
| 221 | +## Infrastructure Needed (optional) |
25 | 222 |
|
26 |
| -< If the user needs to interact with this feature, how would it look like from their point of view. > |
| 223 | +Use this section if you need things from the project. Examples include a new |
| 224 | +subproject, repos requested, github details, and/or testing infrastructure. |
27 | 225 |
|
28 |
| -## Observations and open questions |
| 226 | +Listing these here allows the community to get the process for these resources |
| 227 | +started right away. |
29 | 228 |
|
30 |
| -< Any open questions that need solving or implementation details should go here. These can be removed at the end of the proposal if they are resolved. > |
| 229 | +[operator-sdk-doc]: ../../doc |
0 commit comments