Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix error example in deployment strategies #1518

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
mumubin marked this conversation as resolved.
Show resolved Hide resolved
```

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