apiVersion: flagger.app/v1beta1
# the maximum time in seconds for the canary deployment
# to make progress before it is rollback (default 600s)
progressDeadlineSeconds: 60
# HPA reference (optional)
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
# Istio gateways (optional)
- public-gateway.istio-system.svc.cluster.local
# Istio virtual service host names (optional)
# Istio traffic policy (optional)
# use ISTIO_MUTUAL when mTLS is enabled
# schedule interval (default 60s)
# total number of iterations
# max number of failed iterations before rollback
regex: "^(.*?;)?(type=insider)(;.*)?quot;
- name: request-success-rate
# minimum req success rate (non 5xx responses)
# maximum req duration P99
# generate traffic during analysis
url: http://flagger-loadtester.test/
cmd: "hey -z 1m -q 10 -c 2 -H 'Cookie: type=insider' http://podinfo.test:9898/"