类型
object

规格

属性类型描述
specobject

Configuration affecting network reachability of a sidecar. See more details at: https://istio.io/docs/reference/config/networking/sidecar.html

statusobject

.spec

描述
Configuration affecting network reachability of a sidecar. See more details at: https://istio.io/docs/reference/config/networking/sidecar.html
类型
object
属性类型描述
egressarray
ingressarray
outboundTrafficPolicyobject

Configuration for the outbound traffic policy.

workloadSelectorobject

.spec.egress

类型
array

.spec.egress[]

类型
object
属性类型描述
bindstring
captureModestring
hostsarray
portobject

The port associated with the listener.

.spec.egress[].hosts

类型
array

.spec.egress[].hosts[]

类型
string

.spec.egress[].port

描述
The port associated with the listener.
类型
object
属性类型描述
namestring

Label assigned to the port.

numberinteger

A valid non-negative integer port number.

protocolstring

The protocol exposed on the port.

targetPortinteger

.spec.ingress

类型
array

.spec.ingress[]

类型
object
属性类型描述
bindstring

The IP(IPv4 or IPv6) to which the listener should be bound.

captureModestring
defaultEndpointstring
portobject

The port associated with the listener.

tlsobject

.spec.ingress[].port

描述
The port associated with the listener.
类型
object
属性类型描述
namestring

Label assigned to the port.

numberinteger

A valid non-negative integer port number.

protocolstring

The protocol exposed on the port.

targetPortinteger

.spec.ingress[].tls

类型
object
属性类型描述
caCertificatesstring

REQUIRED if mode is MUTUAL.

cipherSuitesarray

Optional: If specified, only support the specified cipher list.

credentialNamestring
httpsRedirectboolean
maxProtocolVersionstring

Optional: Maximum TLS protocol version.

minProtocolVersionstring

Optional: Minimum TLS protocol version.

modestring
privateKeystring

REQUIRED if mode is SIMPLE or MUTUAL.

serverCertificatestring

REQUIRED if mode is SIMPLE or MUTUAL.

subjectAltNamesarray
verifyCertificateHasharray
verifyCertificateSpkiarray

.spec.ingress[].tls.cipherSuites

描述
Optional: If specified, only support the specified cipher list.
类型
array

.spec.ingress[].tls.cipherSuites[]

类型
string

.spec.ingress[].tls.subjectAltNames

类型
array

.spec.ingress[].tls.subjectAltNames[]

类型
string

.spec.ingress[].tls.verifyCertificateHash

类型
array

.spec.ingress[].tls.verifyCertificateHash[]

类型
string

.spec.ingress[].tls.verifyCertificateSpki

类型
array

.spec.ingress[].tls.verifyCertificateSpki[]

类型
string

.spec.outboundTrafficPolicy

描述
Configuration for the outbound traffic policy.
类型
object
属性类型描述
egressProxyobject
modestring

.spec.outboundTrafficPolicy.egressProxy

类型
object
属性类型描述
hoststring

The name of a service from the service registry.

portobject

Specifies the port on the host that is being addressed.

subsetstring

The name of a subset within the service.

.spec.outboundTrafficPolicy.egressProxy.port

描述
Specifies the port on the host that is being addressed.
类型
object
属性类型描述
numberinteger

.spec.workloadSelector

类型
object
属性类型描述
labelsobject

.spec.workloadSelector.labels

类型
object

.status

类型
object

API 端点

可用的 API 端点如下:

  • /apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars
    • DELETE: delete collection of Sidecar
    • GET: list objects of kind Sidecar
    • POST: create a new Sidecar
  • /apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars/{name}
    • DELETE: delete the specified Sidecar
    • GET: read the specified Sidecar
    • PATCH: partially update the specified Sidecar
    • PUT: replace the specified Sidecar
  • /apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars/{name}/status
    • GET: read status of the specified Sidecar
    • PATCH: partially update status of the specified Sidecar
    • PUT: replace status of the specified Sidecar

/apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars

HTTP 方法
DELETE
描述
delete collection of Sidecar
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind Sidecar
HTTP 响应
HTTP 状态码响应体
200 - OKSidecarList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodySidecar schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
201 - CreatedSidecar schema
202 - AcceptedSidecar schema
401 - UnauthorizedEmpty

/apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars/{name}

HTTP 方法
DELETE
描述
delete the specified Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
read the specified Sidecar
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodySidecar schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
201 - CreatedSidecar schema
401 - UnauthorizedEmpty

/apis/networking.istio.io/v1beta1/namespaces/{namespace}/sidecars/{name}/status

HTTP 方法
GET
描述
read status of the specified Sidecar
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified Sidecar
查询参数
参数类型描述
dryRunstringWhen present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
fieldValidationstringfieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
请求体参数
参数类型描述
bodySidecar schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKSidecar schema
201 - CreatedSidecar schema
401 - UnauthorizedEmpty