Skip to content

Commit

Permalink
docs: add label selector to workload topology spread constraint examp…
Browse files Browse the repository at this point in the history
…le (#5174)
  • Loading branch information
jmdeal authored Nov 28, 2023
1 parent e20ed10 commit 8bbc545
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 16 deletions.
2 changes: 2 additions & 0 deletions website/content/en/docs/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,4 +602,6 @@ topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
2 changes: 2 additions & 0 deletions website/content/en/preview/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -603,4 +603,6 @@ topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
10 changes: 6 additions & 4 deletions website/content/en/v0.28/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,10 @@ This is not identical to a topology spread with a specified ratio. We are const
#### Workload Topology Spread Constraint

```yaml
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
10 changes: 6 additions & 4 deletions website/content/en/v0.29/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,10 @@ This is not identical to a topology spread with a specified ratio. We are const
#### Workload Topology Spread Constraint

```yaml
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
10 changes: 6 additions & 4 deletions website/content/en/v0.30/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,10 @@ This is not identical to a topology spread with a specified ratio. We are const
#### Workload Topology Spread Constraint

```yaml
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
10 changes: 6 additions & 4 deletions website/content/en/v0.31/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,10 @@ This is not identical to a topology spread with a specified ratio. We are const
#### Workload Topology Spread Constraint

```yaml
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```
2 changes: 2 additions & 0 deletions website/content/en/v0.32/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,4 +602,6 @@ topologySpreadConstraints:
- maxSkew: 1
topologyKey: capacity-spread
whenUnsatisfiable: DoNotSchedule
labelSelector:
...
```

0 comments on commit 8bbc545

Please sign in to comment.