Merge pull request #32027 from tengqm/fix-sched-ver
Update scheduler configuration sample version
This commit is contained in:
@@ -167,7 +167,7 @@ To do so, add an `addedAffinity` to the args of the [`NodeAffinity` plugin](/doc
|
|||||||
in the [scheduler configuration](/docs/reference/scheduling/config/). For example:
|
in the [scheduler configuration](/docs/reference/scheduling/config/). For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
apiVersion: kubescheduler.config.k8s.io/v1beta3
|
||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ Below is an example configuration that sets
|
|||||||
resources `intel.com/foo` and `intel.com/bar`.
|
resources `intel.com/foo` and `intel.com/bar`.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
apiVersion: kubescheduler.config.k8s.io/v1beta3
|
||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
profiles:
|
profiles:
|
||||||
# ...
|
# ...
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ replication controllers, replica sets or stateful sets that the Pod belongs to.
|
|||||||
An example configuration might look like follows:
|
An example configuration might look like follows:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
apiVersion: kubescheduler.config.k8s.io/v1beta3
|
||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
@@ -366,7 +366,7 @@ you can disable those defaults by setting `defaultingType` to `List` and leaving
|
|||||||
empty `defaultConstraints` in the `PodTopologySpread` plugin configuration:
|
empty `defaultConstraints` in the `PodTopologySpread` plugin configuration:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: kubescheduler.config.k8s.io/v1beta1
|
apiVersion: kubescheduler.config.k8s.io/v1beta3
|
||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
Reference in New Issue
Block a user