Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: flagger.app/v1alpha3
kind: Canary
metadata:
name: resnet-serving
spec:
# deployment reference
targetRef:
apiVersion: apps/v1
kind: Deployment
name: resnet-serving
progressDeadlineSeconds: 30
service:
port: 9000
gateways:
- resnet-serving-gateway.default.svc.cluster.local
canaryAnalysis:
interval: 1m
# max number of failed metric checks before rollback
threshold: 5
maxWeight: 30
# canary increment step
stepWeight: 10
metrics:
- name: istio_requests_total
# minimum req success rate (non 5xx responses)
threshold: 99
interval: 1m
- name: istio_request_duration_seconds_bucket
# maximum req duration (ms) P99
threshold: 500
interval: 30s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.