feat(kubernetes): add sandbox disruption protection - #2692
Open
varshaprasad96 wants to merge 3 commits into
Open
feat(kubernetes): add sandbox disruption protection#2692varshaprasad96 wants to merge 3 commits into
varshaprasad96 wants to merge 3 commits into
Conversation
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
varshaprasad96
marked this pull request as ready for review
August 11, 2026 23:47
varshaprasad96
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
August 11, 2026 23:47
varshaprasad96
marked this pull request as draft
August 11, 2026 23:47
varshaprasad96
marked this pull request as ready for review
August 11, 2026 23:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds opt-in, time-bounded PodDisruptionBudget management for Kubernetes sandboxes. Operators enable the capability and set a maximum duration, while individual sandbox requests choose whether to use it and for how long.
Related Issue
Partially addresses #2616 by implementing optional per-sandbox PDB protection. Disruption recovery status, checkpointing, and portable-storage recovery remain outside this PR.
Changes
30mor4h, validate them against the operator maximum, and persist an absolute UTC deadline on the Sandbox and PDB.policy/v1PDB withminAvailable: 1,unhealthyPodEvictionPolicy: AlwaysAllow, exact sandbox pod labels, and a Sandbox owner reference.Testing
mise run pre-commitpassesmise run cipasseskubernetes_disruption_protectiontest passed on a dedicated kind clusterChecklist