Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEP-5040: Remove gitRepo volume driver. #5039

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vinayakankugoyal
Copy link
Contributor

@vinayakankugoyal vinayakankugoyal commented Jan 14, 2025

  • One-line PR description: Initial KEP to remove support for gitRepo volume driver.
  • Other comments:

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 14, 2025
@k8s-ci-robot k8s-ci-robot added kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/storage Categorizes an issue or PR as relevant to SIG Storage. labels Jan 14, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: vinayakankugoyal
Once this PR has been reviewed and has the lgtm label, please assign msau42 for approval. For more information see the Code Review Process.

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

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

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 14, 2025
@vinayakankugoyal vinayakankugoyal marked this pull request as draft January 14, 2025 01:46
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 14, 2025
@xing-yang
Copy link
Contributor

Can you open an enhancement issue? Are you planning to target Alpha in 1.33?

@vinayakankugoyal
Copy link
Contributor Author

Can you open an enhancement issue? Are you planning to target Alpha in 1.33?

#5040. Yeah we are planning to target Alpha in 1.33

@vinayakankugoyal vinayakankugoyal changed the title KEP-NNNN: remove gitRepo volume driver. KEP-5040: Remove gitRepo volume driver. Jan 14, 2025
@vinayakankugoyal
Copy link
Contributor Author

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jan 14, 2025
@vinayakankugoyal
Copy link
Contributor Author

/retest

@thockin thockin self-assigned this Jan 14, 2025
- We will announce removal in kubernetes release notes, documentation and via
kubernetes release blog post.

v1.36 (04/2026):
Copy link
Member

Choose a reason for hiding this comment

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

For compat versions, we need 3 versions where the behavior can be made the same wrt toggle. Removing the gate means that it can not be toggled off. This means we need to lock the gate, wait 3 releases, AND THEN we can remove it.

So if we have the gate enableable in 33, 34, 35 and then lock it to off in 36, we need to wait until 39 to actually remove it.

If we lock it in 34, we can remove in 37, but Jordan suggested leaving it toggleable for more than 1 release. So... do we leave it toggleable for 3 releases or 2?

@liggitt ? It's probably fine to leave it for 3, meaning 39 is the removal.

Copy link
Member

@liggitt liggitt Jan 15, 2025

Choose a reason for hiding this comment

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

I think the only bits that are urgent are 1) disabling by default with an escape hatch and 2) starting the process to drive feedback to inform a decision on locking / completely removing.

Once we've disabled by default, I don't especially care if we leave the inert plugin there and opt-in ~forever.

I don't know how long to leave between 1 and 2... enough time that impacted people reach the minor that disables and requires opt-in. I'd guess 2-3 releases.

And yes, remove completely 3 releases after locking.

maintained.

### Alternative 2: Use ValidatingAdmissionPolicy
We publish a VAP which prevents Pods and other workloads from using gitRepo, and
Copy link
Member

Choose a reason for hiding this comment

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

I think we should ALSO do this. Maybe we should propose a new git repo for contributed policies and those sorts of things which work around problems while real fixes are rolling out?

@dims ?

Copy link
Member

Choose a reason for hiding this comment

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

I'd support this!

status: provisional
creation-date: 2024-12-14
reviewers:
- @thokin
Copy link
Member

Choose a reason for hiding this comment

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

"ck"

Copy link
Member

Choose a reason for hiding this comment

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

I think you can make me the approver along with someone from sig-node -- @SergeyKanzhelev can you nominate someone? Maybe make @saad-ali a reviewer too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/storage Categorizes an issue or PR as relevant to SIG Storage. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants