Skip to content

Commit 58bcaff

Browse files
authored
Merge pull request #24699 from r0bj/fix_KubeSchedulerConfiguration
fix KubeSchedulerConfiguration syntax
2 parents c23f31b + d71c214 commit 58bcaff

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,13 @@ apiVersion: kubescheduler.config.k8s.io/v1beta1
295295
kind: KubeSchedulerConfiguration
296296

297297
profiles:
298-
pluginConfig:
299-
- name: PodTopologySpread
300-
args:
301-
defaultConstraints:
302-
- maxSkew: 1
303-
topologyKey: topology.kubernetes.io/zone
304-
whenUnsatisfiable: ScheduleAnyway
298+
- pluginConfig:
299+
- name: PodTopologySpread
300+
args:
301+
defaultConstraints:
302+
- maxSkew: 1
303+
topologyKey: topology.kubernetes.io/zone
304+
whenUnsatisfiable: ScheduleAnyway
305305
```
306306
307307
{{< note >}}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ apiVersion: kubescheduler.config.k8s.io/v1alpha2
205205
kind: KubeSchedulerConfiguration
206206
207207
profiles:
208-
pluginConfig:
209-
- name: PodTopologySpread
210-
args:
211-
defaultConstraints:
212-
- maxSkew: 1
213-
topologyKey: failure-domain.beta.kubernetes.io/zone
214-
whenUnsatisfiable: ScheduleAnyway
208+
- pluginConfig:
209+
- name: PodTopologySpread
210+
args:
211+
defaultConstraints:
212+
- maxSkew: 1
213+
topologyKey: topology.kubernetes.io/zone
214+
whenUnsatisfiable: ScheduleAnyway
215215
```
216216

217217
{{< note >}}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,13 @@ apiVersion: kubescheduler.config.k8s.io/v1alpha2
249249
kind: KubeSchedulerConfiguration
250250
251251
profiles:
252-
pluginConfig:
253-
- name: PodTopologySpread
254-
args:
255-
defaultConstraints:
256-
- maxSkew: 1
257-
topologyKey: failure-domain.beta.kubernetes.io/zone
258-
whenUnsatisfiable: ScheduleAnyway
252+
- pluginConfig:
253+
- name: PodTopologySpread
254+
args:
255+
defaultConstraints:
256+
- maxSkew: 1
257+
topologyKey: topology.kubernetes.io/zone
258+
whenUnsatisfiable: ScheduleAnyway
259259
```
260260

261261
{{< note >}}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -295,13 +295,13 @@ apiVersion: kubescheduler.config.k8s.io/v1beta1
295295
kind: KubeSchedulerConfiguration
296296

297297
profiles:
298-
pluginConfig:
299-
- name: PodTopologySpread
300-
args:
301-
defaultConstraints:
302-
- maxSkew: 1
303-
topologyKey: topology.kubernetes.io/zone
304-
whenUnsatisfiable: ScheduleAnyway
298+
- pluginConfig:
299+
- name: PodTopologySpread
300+
args:
301+
defaultConstraints:
302+
- maxSkew: 1
303+
topologyKey: topology.kubernetes.io/zone
304+
whenUnsatisfiable: ScheduleAnyway
305305
```
306306
307307
{{< note >}}

0 commit comments

Comments
 (0)