You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollout release process supports post-checking, Metrics analysis, as follows:
apiVersion: rollouts.kruise.io/v1alpha1kind: Rolloutspec:
strategy:
objectRef:
...canary:
steps:
- weight: 5...# metrics analysisanalysis:
templates:
- templateName: success-ratestartingStep: 2# delay starting analysis run until setWeight: 40%args:
- name: service-namevalue: guestbook-svc.default.svc.cluster.local# metrics analysisapiVersion: rollouts.kruise.io/v1alpha1kind: AnalysisTemplatemetadata:
name: success-ratespec:
args:
- name: service-namemetrics:
- name: success-rateinterval: 5m# NOTE: prometheus queries return results in the form of a vector.# So it is common to access the index 0 of the returned array to obtain the valuesuccessCondition: result[0] >= 0.95failureLimit: 3provider:
prometheus:
address: http://prometheus.example.com:9090query: | sum(irate( istio_requests_total{reporter="source",destination_service=~"{{args.service-name}}",response_code!~"5.*"}[5m] )) / sum(irate( istio_requests_total{reporter="source",destination_service=~"{{args.service-name}}"}[5m] ))
The text was updated successfully, but these errors were encountered:
What would you like to be added:
Rollout release process supports post-checking, Metrics analysis, as follows:
The text was updated successfully, but these errors were encountered: