Update k8s dependency version to 1.21

Signed-off-by: xinyanwu409 <wxinyan@vmware>
This commit is contained in:
wxinyan
2021-04-15 23:35:04 -07:00
committed by xinyanwu409
parent f255fe7b46
commit 17b8ffe7f8
1302 changed files with 108432 additions and 10464 deletions

View File

@@ -76,6 +76,12 @@ message Endpoint {
// with the EndpointSliceNodeName feature gate.
// +optional
optional string nodeName = 6;
// hints contains information associated with how an endpoint should be
// consumed.
// +featureGate=TopologyAwareHints
// +optional
optional EndpointHints hints = 7;
}
// EndpointConditions represents the current condition of an endpoint.
@@ -104,6 +110,14 @@ message EndpointConditions {
optional bool terminating = 3;
}
// EndpointHints provides hints describing how an endpoint should be consumed.
message EndpointHints {
// forZones indicates the zone(s) this endpoint should be consumed by to
// enable topology aware routing. May contain a maximum of 8 entries.
// +listType=atomic
repeated ForZone forZones = 1;
}
// EndpointPort represents a Port used by an EndpointSlice
message EndpointPort {
// The name of this port. All ports in an EndpointSlice must have a unique
@@ -178,3 +192,9 @@ message EndpointSliceList {
repeated EndpointSlice items = 2;
}
// ForZone provides information about which zones should consume this endpoint.
message ForZone {
// name represents the name of the zone.
optional string name = 1;
}