Merge pull request #84971 from robscott/endpointslice-iptypes
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
This commit is contained in:
5
api/openapi-spec/swagger.json
generated
5
api/openapi-spec/swagger.json
generated
@@ -12025,7 +12025,7 @@
|
||||
"description": "Endpoint represents a single logical \"backend\" implementing a service.",
|
||||
"properties": {
|
||||
"addresses": {
|
||||
"description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack networking where both IPv4 and IPv6 addresses would be included with the IP addressType. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.",
|
||||
"description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -12094,7 +12094,7 @@
|
||||
"description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.",
|
||||
"properties": {
|
||||
"addressType": {
|
||||
"description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. The following address types are currently supported: * IP: Represents an IP Address. This can include both IPv4 and IPv6\n addresses.\n* FQDN: Represents a Fully Qualified Domain Name. Default is IP",
|
||||
"description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiVersion": {
|
||||
@@ -12127,6 +12127,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"addressType",
|
||||
"endpoints"
|
||||
],
|
||||
"type": "object",
|
||||
|
Reference in New Issue
Block a user