Merge pull request #24699 from r0bj/fix_KubeSchedulerConfiguration
fix KubeSchedulerConfiguration syntax
This commit is contained in:
@@ -295,13 +295,13 @@ apiVersion: kubescheduler.config.k8s.io/v1beta1
|
|||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
pluginConfig:
|
- pluginConfig:
|
||||||
- name: PodTopologySpread
|
- name: PodTopologySpread
|
||||||
args:
|
args:
|
||||||
defaultConstraints:
|
defaultConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: topology.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
whenUnsatisfiable: ScheduleAnyway
|
whenUnsatisfiable: ScheduleAnyway
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|||||||
@@ -205,13 +205,13 @@ apiVersion: kubescheduler.config.k8s.io/v1alpha2
|
|||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
pluginConfig:
|
- pluginConfig:
|
||||||
- name: PodTopologySpread
|
- name: PodTopologySpread
|
||||||
args:
|
args:
|
||||||
defaultConstraints:
|
defaultConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: failure-domain.beta.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
whenUnsatisfiable: ScheduleAnyway
|
whenUnsatisfiable: ScheduleAnyway
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|||||||
@@ -249,13 +249,13 @@ apiVersion: kubescheduler.config.k8s.io/v1alpha2
|
|||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
pluginConfig:
|
- pluginConfig:
|
||||||
- name: PodTopologySpread
|
- name: PodTopologySpread
|
||||||
args:
|
args:
|
||||||
defaultConstraints:
|
defaultConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: failure-domain.beta.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
whenUnsatisfiable: ScheduleAnyway
|
whenUnsatisfiable: ScheduleAnyway
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|||||||
@@ -295,13 +295,13 @@ apiVersion: kubescheduler.config.k8s.io/v1beta1
|
|||||||
kind: KubeSchedulerConfiguration
|
kind: KubeSchedulerConfiguration
|
||||||
|
|
||||||
profiles:
|
profiles:
|
||||||
pluginConfig:
|
- pluginConfig:
|
||||||
- name: PodTopologySpread
|
- name: PodTopologySpread
|
||||||
args:
|
args:
|
||||||
defaultConstraints:
|
defaultConstraints:
|
||||||
- maxSkew: 1
|
- maxSkew: 1
|
||||||
topologyKey: topology.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
whenUnsatisfiable: ScheduleAnyway
|
whenUnsatisfiable: ScheduleAnyway
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
|||||||
Reference in New Issue
Block a user