Skip to content

Typo in stepWeights documentation #1892

@robcortez

Description

@robcortez

Describe the bug

There is an issue in the "usage" documentation regarding stepWeights. The example provided contains a typo that leads to a great deal of confusion.

Excerpt from docs:

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

This configuration performs analysis starting from 1, going through stepWeights values till 80.
We would have steps (canary weight : primary weight):

  • 1 (1 : 99)

  • 2 (2 : 98)

  • 10 (10 : 90)

  • 80 (20 : 60)

  • promotion

To Reproduce

NA

Expected behavior

The final step in the example should be represented as:

  • 80 (80 : 20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions