VpcEgressGateway [vpc-egress-gateways.kubeovn.io/v1]

类型
object

规格

属性类型描述
statusobject
specobject

.status

类型
object
必填
conditionsphase
属性类型描述
replicasinteger
labelSelectorstring
conditionsarray
internalIPsarray
externalIPsarray
phasestring
readyboolean
workloadobject

.status.conditions

类型
array

.status.conditions[]

类型
object
必填
lastTransitionTimelastUpdateTimeobservedGenerationreasonstatustype
属性类型描述
lastTransitionTimestring
lastUpdateTimestring
messagestring
observedGenerationinteger
reasonstring
statusstring
typestring

.status.internalIPs

类型
array

.status.internalIPs[]

类型
string

.status.externalIPs

类型
array

.status.externalIPs[]

类型
string

.status.workload

类型
object
属性类型描述
apiVersionstring
kindstring
namestring
nodesarray

.status.workload.nodes

类型
array

.status.workload.nodes[]

类型
string

.spec

类型
object
必填
externalSubnet
属性类型描述
replicasinteger
prefixstring
vpcstring
internalSubnetstring
externalSubnetstring
internalIPsarray
externalIPsarray
imagestring
bfdobject
selectorsarray
policiesarray
trafficPolicystring
nodeSelectorarray

.spec.internalIPs

类型
array

.spec.internalIPs[]

类型
string

.spec.externalIPs

类型
array

.spec.externalIPs[]

类型
string

.spec.bfd

类型
object
属性类型描述
enabledboolean
minRXinteger
minTXinteger
multiplierinteger

.spec.selectors

类型
array

.spec.selectors[]

类型
object
属性类型描述
namespaceSelectorobject
podSelectorobject

.spec.selectors[].namespaceSelector

类型
object
属性类型描述
matchLabelsobject
matchExpressionsarray

.spec.selectors[].namespaceSelector.matchLabels

类型
object

.spec.selectors[].namespaceSelector.matchExpressions

类型
array

.spec.selectors[].namespaceSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.selectors[].namespaceSelector.matchExpressions[].values

类型
array

.spec.selectors[].namespaceSelector.matchExpressions[].values[]

类型
string

.spec.selectors[].podSelector

类型
object
属性类型描述
matchLabelsobject
matchExpressionsarray

.spec.selectors[].podSelector.matchLabels

类型
object

.spec.selectors[].podSelector.matchExpressions

类型
array

.spec.selectors[].podSelector.matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.selectors[].podSelector.matchExpressions[].values

类型
array

.spec.selectors[].podSelector.matchExpressions[].values[]

类型
string

.spec.policies

类型
array

.spec.policies[]

类型
object
属性类型描述
snatboolean
ipBlocksarray
subnetsarray

.spec.policies[].ipBlocks

类型
array

.spec.policies[].ipBlocks[]

类型
string

.spec.policies[].subnets

类型
array

.spec.policies[].subnets[]

类型
string

.spec.nodeSelector

类型
array

.spec.nodeSelector[]

类型
object
属性类型描述
matchLabelsobject
matchExpressionsarray
matchFieldsarray

.spec.nodeSelector[].matchLabels

类型
object

.spec.nodeSelector[].matchExpressions

类型
array

.spec.nodeSelector[].matchExpressions[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.nodeSelector[].matchExpressions[].values

类型
array

.spec.nodeSelector[].matchExpressions[].values[]

类型
string

.spec.nodeSelector[].matchFields

类型
array

.spec.nodeSelector[].matchFields[]

类型
object
必填
keyoperator
属性类型描述
keystring
operatorstring
valuesarray

.spec.nodeSelector[].matchFields[].values

类型
array

.spec.nodeSelector[].matchFields[].values[]

类型
string

API 端点

可用的 API 端点如下:

  • /apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways
    • DELETE: delete collection of VpcEgressGateway
    • GET: list objects of kind VpcEgressGateway
    • POST: create a new VpcEgressGateway
  • /apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}
    • DELETE: delete the specified VpcEgressGateway
    • GET: read the specified VpcEgressGateway
    • PATCH: partially update the specified VpcEgressGateway
    • PUT: replace the specified VpcEgressGateway
  • /apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}/status
    • GET: read status of the specified VpcEgressGateway
    • PATCH: partially update status of the specified VpcEgressGateway
    • PUT: replace status of the specified VpcEgressGateway
  • /apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}/scale
    • GET: read scale of the specified VpcEgressGateway
    • PATCH: partially update scale of the specified VpcEgressGateway
    • PUT: replace scale of the specified VpcEgressGateway

/apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways

HTTP 方法
DELETE
描述
delete collection of VpcEgressGateway
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind VpcEgressGateway
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGatewayList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new VpcEgressGateway
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyVpcEgressGateway schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGateway schema
201 - CreatedVpcEgressGateway schema
202 - AcceptedVpcEgressGateway schema
401 - UnauthorizedEmpty

/apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}

HTTP 方法
DELETE
描述
delete the specified VpcEgressGateway
查询参数
参数类型描述
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 VpcEgressGateway
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGateway schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified VpcEgressGateway
查询参数
参数类型描述
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 - OKVpcEgressGateway schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified VpcEgressGateway
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyVpcEgressGateway schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGateway schema
201 - CreatedVpcEgressGateway schema
401 - UnauthorizedEmpty

/apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}/status

HTTP 方法
GET
描述
read status of the specified VpcEgressGateway
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGateway schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified VpcEgressGateway
查询参数
参数类型描述
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 - OKVpcEgressGateway schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified VpcEgressGateway
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyVpcEgressGateway schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKVpcEgressGateway schema
201 - CreatedVpcEgressGateway schema
401 - UnauthorizedEmpty

/apis/kubeovn.io/v1/namespaces/{namespace}/vpc-egress-gateways/{name}/scale

HTTP 方法
GET
描述
read scale of the specified VpcEgressGateway
HTTP 响应
HTTP 状态码响应体
200 - OKScale schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update scale of the specified VpcEgressGateway
查询参数
参数类型描述
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 方法
PUT
描述
replace scale of the specified VpcEgressGateway
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyScale schemaapplication/json formatted