Skip to content

Commit

Permalink
Merge pull request #1518 from mumubin/docs_deployment_strategies_fix
Browse files Browse the repository at this point in the history
docs: fix error example in deployment strategies
  • Loading branch information
stefanprodan authored Sep 22, 2023
2 parents 15ef64e + ecdde86 commit 3a7fd48
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/gitbook/usage/deployment-strategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ the step and the maximum weight value in 0 to 100 range.
Example:

```yaml
canary:
# canary.yaml
spec:
analysis:
promotion:
maxWeight: 50
stepWeight: 20
maxWeight: 50
stepWeight: 20
```
This configuration performs analysis starting from 20, increasing by 20 until weight goes above 50.
Expand All @@ -148,10 +148,10 @@ In order to enable non-linear promotion a new parameter was introduced:
Example:

```yaml
canary:
# canary.yaml
spec:
analysis:
promotion:
stepWeights: [1, 2, 10, 80]
stepWeights: [1, 2, 10, 80]
```

This configuration performs analysis starting from 1, going through `stepWeights` values till 80.
Expand Down

0 comments on commit 3a7fd48

Please sign in to comment.