- Description
- CanaryDelivery is the Schema for the Canarydeliveries API
- Type
object
Specification
.spec
- Description
- CanaryDeliverySpec defines the desired state of CanaryDelivery
- Type
object- Required
targetRef
.spec.analysis
- Description
- Analysis defines the validation process of a release
- Type
object
.spec.analysis.match
- Description
- A/B testing HTTP header match conditions
- Type
array
.spec.analysis.match[]
- Description
- 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.
- Type
object
.spec.analysis.match[].authority
- Description
- HTTP Authority values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for ECMAscript style regex-based match
- Type
object
.spec.analysis.match[].gateways
- Description
- 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.
- Type
array
.spec.analysis.match[].gateways[]
- Type
string
.spec.analysis.match[].headers
- Description
- 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 match - `prefix: "value"` for prefix-based match - `regex: "value"` for ECMAscript style regex-based match **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored.
- Type
object
.spec.analysis.match[].method
- Description
- HTTP Method values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for ECMAscript style regex-based match
- Type
object
.spec.analysis.match[].scheme
- Description
- URI Scheme values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for ECMAscript style regex-based match
- Type
object
.spec.analysis.match[].sourceLabels
- Description
- 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.
- Type
object
.spec.analysis.match[].uri
- Description
- URI to match values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for ECMAscript style regex-based match
- Type
object
.spec.autoscalerRef
- Description
- AutoscalerRef references an autoscaling resource
- Type
object- Required
name
.spec.metrics
- Description
- Metric check list for this canary analysis
- Type
array
.spec.metrics[]
- Description
- CanaryMetric holds the reference to metrics used for canary analysis
- Type
object- Required
name
.spec.metrics[].templateRef
- Description
- TemplateRef references a metric template object
- Type
object- Required
name
.spec.metrics[].thresholdRange
- Description
- Range value accepted for this metric
- Type
object
.spec.targetRef
- Description
- TargetRef references a target resource
- Type
object- Required
name
.status
- Description
- CanaryDeliveryStatus defines the observed state of CanaryDelivery
- Type
object- Required
canaryWeightfailedChecksiterationslastInitErrorCountphase
.status.conditions
- Type
array
.status.conditions[]
- Description
- CanaryCondition is a status condition for a Canary
- Type
object- Required
statustype
.status.trackedConfigs
- Type
object
API Endpoints
The following API endpoints are available:
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveriesDELETE: delete collection of CanaryDeliveryGET: list objects of kind CanaryDeliveryPOST: create a new CanaryDelivery
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}DELETE: delete the specified CanaryDeliveryGET: read the specified CanaryDeliveryPATCH: partially update the specified CanaryDeliveryPUT: replace the specified CanaryDelivery
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}/statusGET: read status of the specified CanaryDeliveryPATCH: partially update status of the specified CanaryDeliveryPUT: replace status of the specified CanaryDelivery
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries
- HTTP method
DELETE- Description
- delete collection of CanaryDelivery
- HTTP responses
- HTTP method
GET- Description
- list objects of kind CanaryDelivery
- HTTP responses
- HTTP method
POST- Description
- create a new CanaryDelivery
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}
- HTTP method
DELETE- Description
- delete the specified CanaryDelivery
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified CanaryDelivery
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified CanaryDelivery
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified CanaryDelivery
- Query parameters
- Body parameters
- HTTP responses
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}/status
- HTTP method
GET- Description
- read status of the specified CanaryDelivery
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified CanaryDelivery
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified CanaryDelivery
- Query parameters
- Body parameters
- HTTP responses