Last active
July 5, 2021 10:06
-
-
Save masroorhasan/253f32d873595e6cb3b7475e6eed312b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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