Adding Hints to EndpointSlice API

This commit is contained in:
Rob Scott
2021-03-05 12:05:05 -08:00
parent fe43948d44
commit 11f0944dbc
34 changed files with 1847 additions and 126 deletions

View File

@@ -116,4 +116,9 @@ const (
//
// This annotation is alpha-level and is only honored when PodDeletionCost feature is enabled.
PodDeletionCost = "controller.kubernetes.io/pod-deletion-cost"
// AnnotationTopologyAwareHints can be used to enable or disable Topology
// Aware Hints for a Service. This may be set to "auto" or "disabled". Any
// other value is treated as "disabled".
AnnotationTopologyAwareHints = "service.kubernetes.io/topology-aware-hints"
)