| 1 | # Kustomize roadmap 2023-2024 |
| 2 | |
| 3 | This document describes the items that we hope to make progress on over the next |
| 4 | 1 year (H2 2023 and H1 2024). Take this roadmap as more of what we hope to achieve |
| 5 | rather than what we promise to achieve, as some items in this doc are highly dependent |
| 6 | on the success that we have on-ramping new contributors to the project, and other |
| 7 | items will depend on external contributions, which can vary. |
| 8 | |
| 9 | If you are interested in contributing to a particular area, you can look through |
| 10 | the project board for that area and assign yourself to one of the issues. It is |
| 11 | recommended to start with smaller issues to ramp up on the project before starting |
| 12 | to tackle larger issues. |
| 13 | |
| 14 | Project boards: |
| 15 | https://github.com/orgs/kubernetes-sigs/projects/50 |
| 16 | https://github.com/orgs/kubernetes-sigs/projects/51 |
| 17 | https://github.com/orgs/kubernetes-sigs/projects/52 |
| 18 | https://github.com/orgs/kubernetes-sigs/projects/53 |
| 19 | https://github.com/orgs/kubernetes-sigs/projects/54 |
| 20 | |
| 21 | ## Kustomize contributors (at time of writing): |
| 22 | |
| 23 | kustomize owner: @natasha41575 |
| 24 | |
| 25 | kustomize maintainers: @annasong20, @koba1t |
| 26 | |
| 27 | kustomize contributors: @varshaprasad96 |
| 28 | |
| 29 | |
| 30 | # H2 2023 |
| 31 | |
| 32 | ## Goal: Create kustomize leadership and contributor playbooks |
| 33 | |
| 34 | Contributors: natasha41575, annasong20 |
| 35 | |
| 36 | Priority: High |
| 37 | |
| 38 | Effort: Medium |
| 39 | |
| 40 | In the past, when the leads stopped contributing (for various reasons, not covered here) |
| 41 | in various kubernetes projects, it left a wide hole that few could easily fill, |
| 42 | leaving the remaining leads in a bad position and the project understaffed. We should assume |
| 43 | that we will need to onboard new maintainers in the future, and should have playbooks |
| 44 | for doing so. As we grow the contributor base in kustomize, we will build these playbooks for |
| 45 | those who are contributing and those who are looking to grow into kustomize leaders. |
| 46 | To ensure the long term health and stability of the project, we should have: |
| 47 | |
| 48 | - On-boarding guides for new contributors |
| 49 | - Clear guidelines for how to climb the kustomize ladder from contributor to approver to owner |
| 50 | - A plan (maybe a schedule) for future kustomize cohorts |
| 51 | - A succession plan, in case the current kustomize leads ever decide to step down |
| 52 | |
| 53 | ## Goal: Onboard 2-5 new contributors to kustomize |
| 54 | |
| 55 | Contributors: natasha41575, annasong20, koba1t |
| 56 | |
| 57 | Priority: High |
| 58 | |
| 59 | Effort: High |
| 60 | |
| 61 | In order to make progress on kustomize goals in the future, we need to increase the |
| 62 | level of staffing on kustomize. We should leverage community contributions to keep kustomize |
| 63 | healthy and making progress. |
| 64 | |
| 65 | The primary means in which we will try to find new kustomize contributors is through the new kustomize |
| 66 | maintainer training cohort. We will lead a group of ~20 kubernetes community members through a 3-6 month |
| 67 | training program, involving talk sessions, bug scrubs, issue triage, PR reviews, and coding projects for |
| 68 | each member. |
| 69 | |
| 70 | See [our call for help](https://groups.google.com/a/kubernetes.io/g/dev/c/M5OphEVsv5o/m/zc6G4H15AAAJ) for more |
| 71 | specific details about the program. |
| 72 | |
| 73 | The effort from existing kustomize maintainers here will be to: |
| 74 | - Organize the cohort, so that each cohort member feels productive and understands what they should work on |
| 75 | - Align motivation of the cohort members with the work that we assign to them. |
| 76 | - Review PRs from cohort members in a timely manner. |
| 77 | - Be the point(s) of contact for questions/escalations |
| 78 | - Lead weekly stand-ups and monthly bug scrubs |
| 79 | |
| 80 | At the end of all this, if we have a small team of contributors to kustomize, who understand its founding |
| 81 | philosophy and intentions, we should be able to keep the project up to date. |
| 82 | |
| 83 | ## Goal: Improve kustomize extensibility through KRM functions and CRD support |
| 84 | |
| 85 | Contributors: koba1t, varshaprasad96, external contributors |
| 86 | |
| 87 | Priority: High |
| 88 | |
| 89 | Effort: High |
| 90 | |
| 91 | Project board: https://github.com/orgs/kubernetes-sigs/projects/53/views/1 |
| 92 | |
| 93 | For a long time, we have supported KRM functions as the proper way to implement custom generators and transformers. |
| 94 | However, due to limited staffing, we have been unable to drive this feature out of alpha in kustomize. The two |
| 95 | main features which we hope to make progress on are Composition and Catalog, two long-standing proposals for which |
| 96 | numerous users have been waiting for a long time. There are several open issues |
| 97 | regarding KRM functions where our long-term answer has been these two features, but users have been hearing about them |
| 98 | for over a year without seeing any progress. If we can implement them, they will vastly improve usability and security |
| 99 | of KRM functions. |
| 100 | |
| 101 | One item that falls under this category that does not currently have a contributor is improving CRD support. |
| 102 | Currently, it is difficult to use CRDs properly, as there are three different fields (configurations, openapi, and crds) |
| 103 | where users have to input their CRD configuration. We need to consolidate these fields into one easy to use feature to |
| 104 | support CRDs. If you are interested in putting together a design proposal for how to tackle this task, please reach |
| 105 | out to the kustomize maintainers. |
| 106 | |
| 107 | # H1 2024 |
| 108 | |
| 109 | ## Goal: Improve the kustomize documentation |
| 110 | |
| 111 | Contributors: annasong20, external contributions |
| 112 | |
| 113 | Priority: High |
| 114 | |
| 115 | Effort: High |
| 116 | |
| 117 | Project board: https://github.com/orgs/kubernetes-sigs/projects/50 |
| 118 | |
| 119 | The kustomize documentation is currently fragmented, out of date, and lacks examples to fully understand its value. |
| 120 | We have had a "docs project" for a long time; we need to prioritize implementing it so that the documentation is in |
| 121 | one place, easy to find, and helps new users get started more easily. Some outcomes from this project should be: |
| 122 | |
| 123 | - A single, unified website hosted on kustomize.io |
| 124 | - Updated information architecture, and a plan to keep it up to date |
| 125 | - End to end examples of using kustomize, including complex use cases |
| 126 | |
| 127 | ## Goal: Fix core usability bugs in kustomize |
| 128 | |
| 129 | Contributors: external contributions |
| 130 | |
| 131 | Priority: High |
| 132 | |
| 133 | Effort: High |
| 134 | |
| 135 | Project board: https://github.com/orgs/kubernetes-sigs/projects/51 |
| 136 | |
| 137 | There are several core usability issues that block some users from adopting kustomize features or in |
| 138 | some base block users from using kustomize entirely. These issues range from small bugs with workable but |
| 139 | inconvenient workarounds, to enormous feature gaps. |
| 140 | |
| 141 | As part of this goal, we should work toward reducing the number of such issues that we have, making |
| 142 | kustomize work more smoothly and predictably, and be usable for a larger range of users. |
| 143 | |
| 144 | There are a lot of important issues in this project, but the biggest and highest priority one is that |
| 145 | kustomize doesn't currently support metadata.GenerateName. Unfortunately, we don't currently have anyone |
| 146 | actively working on this issue, we would need an external contributor to reach out to the kustomize |
| 147 | maintainers to pick it up. |
| 148 | |
| 149 | ## Goal: Improve kustomize CI, release, & security patch processes |
| 150 | |
| 151 | Contributors: external contributions |
| 152 | |
| 153 | Priority: Medium |
| 154 | |
| 155 | Effort: High |
| 156 | |
| 157 | Project board: https://github.com/orgs/kubernetes-sigs/projects/54 |
| 158 | |
| 159 | The kustomize release process is currently done on-demand and is strictly linear. This means that if we find a CVE, |
| 160 | we are forced to release the next version of kustomize ASAP, and we are required to release every PR that has merged |
| 161 | since the last release. This can put us in a sticky situation if we have a breaking change that we are |
| 162 | not ready to release yet, but we need a patch quickly. |
| 163 | |
| 164 | We should try to improve the kustomize release process so that we can release frequently, reliably, and with some |
| 165 | flexibility. The outcome of this effort should be: |
| 166 | |
| 167 | - kustomize is released on a regular cadence (biweekly or monthly) |
| 168 | - kustomize is able to separate patch and feature releases, so that we can fix CVEs without needing to release |
| 169 | everything that we have in flight |
| 170 | - We can detect and fix CVEs early |
| 171 | |
| 172 | ## Goal: Take long-standing alpha commands out of alpha |
| 173 | |
| 174 | Contributors: external contributions |
| 175 | |
| 176 | Priority: Medium |
| 177 | |
| 178 | Effort: Medium |
| 179 | |
| 180 | Project board: https://github.com/orgs/kubernetes-sigs/projects/52 |
| 181 | |
| 182 | There are several commands in kustomize that have been alpha for a long time, including the cfg command group and |
| 183 | localize. Moving them forward can indicate good health of a project and these commands are useful to many users. |
| 184 | Some of these projects can be good starter issues for new contributors to have an easier onramp while others will |
| 185 | require more effort and thought. |