Skip to content

Commit 6fc3a7d

Browse files
committed
Update KEP 3521 with test result of upgrade->downgrade->upgrade path
1 parent b077d00 commit 6fc3a7d

File tree

1 file changed

+11
-5
lines changed
  • keps/sig-scheduling/3521-pod-scheduling-readiness

1 file changed

+11
-5
lines changed

keps/sig-scheduling/3521-pod-scheduling-readiness/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -827,11 +827,17 @@ Longer term, we may want to require automated upgrade/rollback tests, but we
827827
are missing a bunch of machinery and tooling and can't do that now.
828828
-->
829829

830-
It will be tested manually prior to beta launch.
831-
832-
<<UNRESOLVED>>
833-
Add detailed scenarios and result here, and cc @wojtek-t.
834-
<</UNRESOLVED>>
830+
- Start a local Kubernetes 1.26 cluster (`PodSchedulingReadiness` defaulted to false)
831+
- Create a Pod `pause` with one scheduling gate
832+
- The Pod's scheduling gate gets dropped as expected due to disabled feature gate
833+
- Delete the Pod
834+
- Re-start API Server and scheduler with version 1.27, and specify `PodSchedulingReadiness=true`
835+
- Create the same Pod `pause` with one scheduling gate
836+
- The Pod stays in `SchedulingGated` state, and its `.spec.schedulingGate` is persisted
837+
- Re-start API Server and scheduler with version 1.26
838+
- The Pod `pause` enters `Pending` state, with old `.spec.schedulingGate` reserved
839+
- Re-start API Server and scheduler with version 1.27, and specify `PodSchedulingReadiness=true`
840+
- The Pod stays in `Pending` state, with old `.spec.schedulingGate` reserved
835841

836842
###### Is the rollout accompanied by any deprecations and/or removals of features, APIs, fields of API types, flags, etc.?
837843

0 commit comments

Comments
 (0)