Skip to content

Commit 18b5b1f

Browse files
authored
Merge pull request #32027 from tengqm/fix-sched-ver
Update scheduler configuration sample version
2 parents cfb4d2a + b763663 commit 18b5b1f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

content/en/docs/concepts/scheduling-eviction/assign-pod-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ To do so, add an `addedAffinity` to the args of the [`NodeAffinity` plugin](/doc
167167
in the [scheduler configuration](/docs/reference/scheduling/config/). For example:
168168

169169
```yaml
170-
apiVersion: kubescheduler.config.k8s.io/v1beta1
170+
apiVersion: kubescheduler.config.k8s.io/v1beta3
171171
kind: KubeSchedulerConfiguration
172172
173173
profiles:

content/en/docs/concepts/scheduling-eviction/resource-bin-packing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Below is an example configuration that sets
3838
resources `intel.com/foo` and `intel.com/bar`.
3939

4040
```yaml
41-
apiVersion: kubescheduler.config.k8s.io/v1beta1
41+
apiVersion: kubescheduler.config.k8s.io/v1beta3
4242
kind: KubeSchedulerConfiguration
4343
profiles:
4444
# ...

content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ replication controllers, replica sets or stateful sets that the Pod belongs to.
306306
An example configuration might look like follows:
307307

308308
```yaml
309-
apiVersion: kubescheduler.config.k8s.io/v1beta1
309+
apiVersion: kubescheduler.config.k8s.io/v1beta3
310310
kind: KubeSchedulerConfiguration
311311
312312
profiles:
@@ -366,7 +366,7 @@ you can disable those defaults by setting `defaultingType` to `List` and leaving
366366
empty `defaultConstraints` in the `PodTopologySpread` plugin configuration:
367367

368368
```yaml
369-
apiVersion: kubescheduler.config.k8s.io/v1beta1
369+
apiVersion: kubescheduler.config.k8s.io/v1beta3
370370
kind: KubeSchedulerConfiguration
371371
372372
profiles:

0 commit comments

Comments
 (0)