asm.alauda.io
group
CanaryDelivery is the Schema for the Canarydeliveries API
v1alpha1
versionobject
CanaryDeliverySpec defines the desired state of CanaryDelivery
object
Analysis defines the validation process of a release
string
Schedule interval for this canary analysis
integer
Number of checks to run for A/B Testing and Blue/Green
[]object
HttpMatchRequest specifies a set of criterion to be met in order for the rule to be applied to the HTTP request. For example, the following restricts the rule to match only requests where the URL path starts with /ratings/v2/ and the request contains a "cookie" with value "user=jason". apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: ratings-route spec: hosts: - ratings http: - match: - headers: cookie: regex: "^(.?;)?(user=jason)(;.)?" uri: prefix: "/ratings/v2/" route: - destination: host: ratings HTTPMatchRequest CANNOT be empty.
object
HTTP Authority values are case-sensitive and formatted as follows:
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for ECMAscript style regex-based matchstring
exact string match
string
prefix-based match
string
ECMAscript style regex-based match
string
suffix-based match.
[]string
Names of gateways where the rule should be applied to. Gateway names at the top of the VirtualService (if any) are overridden. The gateway match is independent of sourceLabels.
object
The header keys must be lowercase and use hyphen as the separator, e.g. x-request-id. Header values are case-sensitive and formatted as follows:
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for ECMAscript style regex-based match
Note: The keys uri
, scheme
, method
, and authority
will be ignored.object
HTTP Method values are case-sensitive and formatted as follows:
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for ECMAscript style regex-based matchstring
exact string match
string
prefix-based match
string
ECMAscript style regex-based match
string
suffix-based match.
integer
Specifies the ports on the host that is being addressed. Many services only expose a single port or label ports with the protocols they support, in these cases it is not required to explicitly select the port.
object
URI Scheme values are case-sensitive and formatted as follows:
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for ECMAscript style regex-based matchstring
exact string match
string
prefix-based match
string
ECMAscript style regex-based match
string
suffix-based match.
object
One or more labels that constrain the applicability of a rule to workloads with the given labels. If the VirtualService has a list of gateways specified at the top, it should include the reserved gateway mesh
in order for this field to be applicable.
object
URI to match values are case-sensitive and formatted as follows:
exact: "value"
for exact string matchprefix: "value"
for prefix-based matchregex: "value"
for ECMAscript style regex-based matchstring
exact string match
string
prefix-based match
string
ECMAscript style regex-based match
string
suffix-based match.
integer
Max traffic percentage routed to canary
boolean
Enable traffic mirroring for Blue/Green
integer
Incremental traffic percentage step
integer
Incremental traffic percentage step for promotion phase
integer
Max number of failed checks before the canary is terminated
boolean
boolean
object
AutoscalerRef references an autoscaling resource
string
API version of the referent
string
Kind of the referent
string
requiredName of the referent
string
Namespace of the referent
string
boolean
if set true,we will rollback canary workload modify
boolean
number
the max response time,if larger than will failed,default is 500ms
[]object
CanaryMetric holds the reference to metrics used for canary analysis
string
Interval represents the windows size
string
requiredName of the metric
string
Prometheus query for this metric (deprecated in favor of TemplateRef)
object
TemplateRef references a metric template object
string
API version of the referent
string
Kind of the referent
string
requiredName of the referent
string
Namespace of the referent
number
Max value accepted for this metric
object
Range value accepted for this metric
number
Maximum value
number
Minimum value
number
the min request succress rate,if below,canary will failed,default is 95 percent
boolean
boolean
object
requiredTargetRef references a target resource
string
API version of the referent
string
Kind of the referent
string
requiredName of the referent
string
Namespace of the referent
object
CanaryDeliveryStatus defines the observed state of CanaryDelivery
integer
requiredboolean
[]object
CanaryCondition is a status condition for a Canary
string
LastTransitionTime of this condition
string
LastUpdateTime of this condition
string
Message associated with this condition
string
Reason for the current status of this condition
string
requiredStatus of this condition
string
requiredType of this condition
integer
requiredinteger
requiredstring
integer
requiredstring
string
string
requiredCanaryPhase is a label for the condition of a canary at the current time
object