mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 05:02:50 +00:00
Adding Hints to EndpointSlice API
This commit is contained in:
62
api/openapi-spec/swagger.json
generated
62
api/openapi-spec/swagger.json
generated
@@ -11014,6 +11014,10 @@
|
||||
"description": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.",
|
||||
"type": "object"
|
||||
},
|
||||
"hints": {
|
||||
"$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointHints",
|
||||
"description": "hints contains information associated with how an endpoint should be consumed."
|
||||
},
|
||||
"hostname": {
|
||||
"description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.",
|
||||
"type": "string"
|
||||
@@ -11054,6 +11058,20 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.discovery.v1.EndpointHints": {
|
||||
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
|
||||
"properties": {
|
||||
"forZones": {
|
||||
"description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone"
|
||||
},
|
||||
"type": "array",
|
||||
"x-kubernetes-list-type": "atomic"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.discovery.v1.EndpointPort": {
|
||||
"description": "EndpointPort represents a Port used by an EndpointSlice",
|
||||
"properties": {
|
||||
@@ -11161,6 +11179,19 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"io.k8s.api.discovery.v1.ForZone": {
|
||||
"description": "ForZone provides information about which zones should consume this endpoint.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "name represents the name of the zone.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.discovery.v1beta1.Endpoint": {
|
||||
"description": "Endpoint represents a single logical \"backend\" implementing a service.",
|
||||
"properties": {
|
||||
@@ -11176,6 +11207,10 @@
|
||||
"$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointConditions",
|
||||
"description": "conditions contains information about the current status of the endpoint."
|
||||
},
|
||||
"hints": {
|
||||
"$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointHints",
|
||||
"description": "hints contains information associated with how an endpoint should be consumed."
|
||||
},
|
||||
"hostname": {
|
||||
"description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.",
|
||||
"type": "string"
|
||||
@@ -11219,6 +11254,20 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.discovery.v1beta1.EndpointHints": {
|
||||
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
|
||||
"properties": {
|
||||
"forZones": {
|
||||
"description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/io.k8s.api.discovery.v1beta1.ForZone"
|
||||
},
|
||||
"type": "array",
|
||||
"x-kubernetes-list-type": "atomic"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.discovery.v1beta1.EndpointPort": {
|
||||
"description": "EndpointPort represents a Port used by an EndpointSlice",
|
||||
"properties": {
|
||||
@@ -11326,6 +11375,19 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"io.k8s.api.discovery.v1beta1.ForZone": {
|
||||
"description": "ForZone provides information about which zones should consume this endpoint.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "name represents the name of the zone.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.events.v1.Event": {
|
||||
"description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user