Skip to content

Commit ca59a0b

Browse files
committed
fix examples
1 parent 97f8275 commit ca59a0b

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/deployment_policy.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
matchLabels:
4141
env: production
4242
budget:
43-
count: 2
43+
percent: 25 # Scales with cluster size
4444
strategy:
4545
exponential:
4646
initialBatch: 1
@@ -198,7 +198,7 @@ compartments:
198198
matchLabels:
199199
region: us-west
200200
budget:
201-
count: 5 # Ceiling = 5
201+
count: 20 # Ceiling = 20
202202
strategy:
203203
exponential: {}
204204
@@ -207,16 +207,16 @@ compartments:
207207
matchLabels:
208208
env: production
209209
budget:
210-
count: 2 # Ceiling = 2 (smaller)
210+
count: 10 # Ceiling = 10 (smaller)
211211
strategy:
212-
exponential: {}
212+
linear: {}
213213
214214
- name: critical
215215
selector:
216216
matchLabels:
217217
priority: critical
218218
budget:
219-
count: 1
219+
count: 3
220220
strategy:
221221
fixed: {} # Fixed (safest)
222222
```
@@ -226,9 +226,8 @@ compartments:
226226
- **Winner**: `critical` (fixed strategy is safest)
227227

228228
**Node with labels** `region=us-west, env=production`:
229-
- Matches `us-west` and `production`
230-
- Both use exponential strategy
231-
- **Winner**: `production` (ceiling=2 is smaller than ceiling=5)
229+
- Matches `us-west` (exponential) and `production` (linear)
230+
- **Winner**: `production` (linear is safer than exponential)
232231

233232
---
234233

0 commit comments

Comments
 (0)