fix nginx->ingress (#1207)
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
This commit is contained in:
parent
cc23c157d3
commit
6dc9552a63
|
|
@ -60,7 +60,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -221,7 +221,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -330,4 +330,4 @@ $ curl -H "Host: canary-demo.com" <ingress-controller-address>/version
|
|||
Demo: V1
|
||||
```
|
||||
|
||||
Any rollback operation in middle of a runningWorkflow will rollback to the latest succeeded revision of this application. So, if you deploy a successful `v1` and upgrade to `v2`, but this version didn't succeed while you continue to upgrade to `v3`. The rollback of `v3` will automatically to `v1`, because release `v2` is not a succeeded one.
|
||||
Any rollback operation in middle of a runningWorkflow will rollback to the latest succeeded revision of this application. So, if you deploy a successful `v1` and upgrade to `v2`, but this version didn't succeed while you continue to upgrade to `v3`. The rollback of `v3` will automatically to `v1`, because release `v2` is not a succeeded one.
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ spec:
|
|||
- weight: 20
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ spec:
|
|||
- weight: 20
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -121,7 +121,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -221,7 +221,7 @@ spec:
|
|||
# The second batch of Canary releases 90% Pods, and 90% traffic imported to the new version.
|
||||
- weight: 90
|
||||
trafficRoutings:
|
||||
- type: nginx
|
||||
- type: ingress
|
||||
EOF
|
||||
```
|
||||
|
||||
|
|
@ -330,4 +330,4 @@ $ curl -H "Host: canary-demo.com" <ingress-controller-address>/version
|
|||
Demo: V1
|
||||
```
|
||||
|
||||
Any rollback operation in middle of a runningWorkflow will rollback to the latest succeeded revision of this application. So, if you deploy a successful `v1` and upgrade to `v2`, but this version didn't succeed while you continue to upgrade to `v3`. The rollback of `v3` will automatically to `v1`, because release `v2` is not a succeeded one.
|
||||
Any rollback operation in middle of a runningWorkflow will rollback to the latest succeeded revision of this application. So, if you deploy a successful `v1` and upgrade to `v2`, but this version didn't succeed while you continue to upgrade to `v3`. The rollback of `v3` will automatically to `v1`, because release `v2` is not a succeeded one.
|
||||
|
|
|
|||
Loading…
Reference in New Issue