- 描述
- CanaryDelivery is the Schema for the Canarydeliveries API
- 类型
object
规格
.spec
- 描述
- CanaryDeliverySpec defines the desired state of CanaryDelivery
- 类型
object- 必填
targetRef
.spec.analysis
- 描述
- Analysis defines the validation process of a release
- 类型
object
.spec.analysis.match
- 描述
- A/B testing HTTP header match conditions
- 类型
array
.spec.analysis.match[]
- 描述
- 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
.spec.analysis.match[].authority
- 描述
- 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
- 类型
object
.spec.analysis.match[].gateways
- 描述
- 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.
- 类型
array
.spec.analysis.match[].gateways[]
- 类型
string
.spec.analysis.match[].headers
- 描述
- 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.
- 类型
object
.spec.analysis.match[].method
- 描述
- 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
- 类型
object
.spec.analysis.match[].scheme
- 描述
- 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
- 类型
object
.spec.analysis.match[].sourceLabels
- 描述
- 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
.spec.analysis.match[].uri
- 描述
- 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
- 类型
object
.spec.autoscalerRef
- 描述
- AutoscalerRef references an autoscaling resource
- 类型
object- 必填
name
.spec.metrics
- 描述
- Metric check list for this canary analysis
- 类型
array
.spec.metrics[]
- 描述
- CanaryMetric holds the reference to metrics used for canary analysis
- 类型
object- 必填
name
.spec.metrics[].templateRef
- 描述
- TemplateRef references a metric template object
- 类型
object- 必填
name
.spec.metrics[].thresholdRange
- 描述
- Range value accepted for this metric
- 类型
object
.spec.targetRef
- 描述
- TargetRef references a target resource
- 类型
object- 必填
name
.status
- 描述
- CanaryDeliveryStatus defines the observed state of CanaryDelivery
- 类型
object- 必填
canaryWeightfailedChecksiterationslastInitErrorCountphase
.status.conditions
- 类型
array
.status.conditions[]
- 描述
- CanaryCondition is a status condition for a Canary
- 类型
object- 必填
statustype
.status.trackedConfigs
- 类型
object
API 端点
可用的 API 端点如下:
/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 方法
DELETE- 描述
- delete collection of CanaryDelivery
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind CanaryDelivery
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new CanaryDelivery
- 查询参数
- 请求体参数
- HTTP 响应
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}
- HTTP 方法
DELETE- 描述
- delete the specified CanaryDelivery
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified CanaryDelivery
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified CanaryDelivery
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified CanaryDelivery
- 查询参数
- 请求体参数
- HTTP 响应
/apis/asm.alauda.io/v1alpha1/namespaces/{namespace}/canarydeliveries/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified CanaryDelivery
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified CanaryDelivery
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified CanaryDelivery
- 查询参数
- 请求体参数
- HTTP 响应