docs: change canaryAnalysis to analysis as it's deprecated

This commit is contained in:
mathetake
2020-03-09 18:19:58 +09:00
parent fbc886794e
commit 951386392d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -214,7 +214,7 @@ with Kubernetes L4 networking. When using Istio you have the option to mirror tr
![Flagger Blue/Green Stages](https://raw.githubusercontent.com/weaveworks/flagger/master/docs/diagrams/flagger-bluegreen-steps.png)
You can use the blue/green deployment strategy by replacing `stepWeight/maxWeight` with `iterations` in the `canaryAnalysis` spec:
You can use the blue/green deployment strategy by replacing `stepWeight/maxWeight` with `iterations` in the `analysis` spec:
```yaml
analysis:
@@ -263,7 +263,7 @@ idempotent. Before using mirroring on requests that may be writes, you should
consider what will happen if a write is duplicated and handled by the primary
and canary.
To use mirroring, set `spec.canaryAnalysis.mirror` to `true`.
To use mirroring, set `spec.analysis.mirror` to `true`.
Istio example:
+1 -1
View File
@@ -58,7 +58,7 @@ The following variables are available in query templates:
- `target` (canary.spec.targetRef.name)
- `service` (canary.spec.service.name)
- `ingress` (canary.spec.ingresRef.name)
- `interval` (canary.spec.canaryAnalysis.metrics[].interval)
- `interval` (canary.spec.analysis.metrics[].interval)
A canary analysis metric can reference a template with `templateRef`: