Skip to content

Commit d3979d5

Browse files
authored
Merge pull request #39773 from Huang-Wei/1.27/PodSchedulingReadiness-beta
Doc for Beta feature PodSchedulingReadiness
2 parents 5a97479 + fc01961 commit d3979d5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

content/en/docs/concepts/scheduling-eviction/pod-scheduling-readiness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ kubectl get pod test-pod -o jsonpath='{.spec.schedulingGates}'
5555
The output is:
5656

5757
```none
58-
[{"name":"foo"},{"name":"bar"}]
58+
[{"name":"example.com/foo"},{"name":"example.com/bar"}]
5959
```
6060

6161
To inform scheduler this Pod is ready for scheduling, you can remove its `schedulingGates` entirely

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ For a reference to old feature gates that are removed, please refer to
165165
| `PodDisruptionConditions` | `false` | Alpha | 1.25 | 1.25 |
166166
| `PodDisruptionConditions` | `true` | Beta | 1.26 | |
167167
| `PodHasNetworkCondition` | `false` | Alpha | 1.25 | |
168-
| `PodSchedulingReadiness` | `false` | Alpha | 1.26 | |
168+
| `PodSchedulingReadiness` | `false` | Alpha | 1.26 | 1.26 |
169+
| `PodSchedulingReadiness` | `true` | Beta | 1.27 | |
169170
| `ProbeTerminationGracePeriod` | `false` | Alpha | 1.21 | 1.21 |
170171
| `ProbeTerminationGracePeriod` | `false` | Beta | 1.22 | 1.24 |
171172
| `ProbeTerminationGracePeriod` | `true` | Beta | 1.25 | |

content/en/examples/pods/pod-with-scheduling-gates.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ metadata:
44
name: test-pod
55
spec:
66
schedulingGates:
7-
- name: foo
8-
- name: bar
7+
- name: example.com/foo
8+
- name: example.com/bar
99
containers:
1010
- name: pause
1111
image: registry.k8s.io/pause:3.6

0 commit comments

Comments
 (0)