flagger
flagger copied to clipboard
virtualservice timeout will not be deleted
Describe the bug
A clear and concise description of what the bug is. Please provide the Canary definition and Flagger logs.
To Reproduce
change config form
apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
name: bookinfo
spec:
revertOnDeletion: true
targetRef:
apiVersion: apps/v1
kind: Deployment
name: reviews-v1
provider: istio
service:
port: 9080
name: reviews
timeout: 1s
gateways:
- istio/bookinfo-gateway
hosts:
- "*"
analysis:
interval: 1m
threshold: 10
maxWeight: 50
stepWeight: 20
metrics:
- name: request-success-rate
thresholdRange:
min: 99
interval: 1m
- name: request-duration
thresholdRange:
max: 500
interval: 1m
to
apiVersion: flagger.app/v1beta1
kind: Canary
metadata:
name: bookinfo
spec:
revertOnDeletion: true
targetRef:
apiVersion: apps/v1
kind: Deployment
name: reviews-v1
provider: istio
service:
port: 9080
name: reviews
delegation: true
gateways:
- istio/bookinfo-gateway
hosts:
- "*"
analysis:
interval: 1m
threshold: 10
maxWeight: 50
stepWeight: 20
metrics:
- name: request-success-rate
thresholdRange:
min: 99
interval: 1m
- name: request-duration
thresholdRange:
max: 500
interval: 1m
spec:
gateways:
- istio/bookinfo-gateway
hosts:
- '*'
http:
- route:
- destination:
host: reviews-primary
weight: 100
- destination:
host: reviews-canary
weight: 0
timeout: 1s
timeout: 1s did not deleted
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
- Flagger version:
- Kubernetes version:
- Service Mesh provider:
- Ingress provider: