update generate docs for PreferSameTrafficDistribution

This commit is contained in:
Dan Winship
2025-02-11 10:06:25 -05:00
parent 4435ead24a
commit af3584778e
27 changed files with 1024 additions and 120 deletions

View File

@@ -12365,8 +12365,16 @@
"io.k8s.api.discovery.v1.EndpointHints": {
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
"properties": {
"forNodes": {
"description": "forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.",
"items": {
"$ref": "#/definitions/io.k8s.api.discovery.v1.ForNode"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"forZones": {
"description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.",
"description": "forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.",
"items": {
"$ref": "#/definitions/io.k8s.api.discovery.v1.ForZone"
},
@@ -12484,6 +12492,19 @@
}
]
},
"io.k8s.api.discovery.v1.ForNode": {
"description": "ForNode provides information about which nodes should consume this endpoint.",
"properties": {
"name": {
"description": "name represents the name of the node.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"io.k8s.api.discovery.v1.ForZone": {
"description": "ForZone provides information about which zones should consume this endpoint.",
"properties": {

View File

@@ -120,8 +120,21 @@
"io.k8s.api.discovery.v1.EndpointHints": {
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
"properties": {
"forNodes": {
"description": "forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.",
"items": {
"allOf": [
{
"$ref": "#/components/schemas/io.k8s.api.discovery.v1.ForNode"
}
],
"default": {}
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
"forZones": {
"description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.",
"description": "forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.",
"items": {
"allOf": [
{
@@ -270,6 +283,20 @@
}
]
},
"io.k8s.api.discovery.v1.ForNode": {
"description": "ForNode provides information about which nodes should consume this endpoint.",
"properties": {
"name": {
"default": "",
"description": "name represents the name of the node.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"io.k8s.api.discovery.v1.ForZone": {
"description": "ForZone provides information about which zones should consume this endpoint.",
"properties": {