mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Updating Topology Aware Hints to support "Auto" value for annotation
Previously only "auto" was supported, a value that was inconsistent with Kubernetes naming patterns.
This commit is contained in:
@@ -330,9 +330,9 @@ func (r *reconciler) finalize(
|
||||
metrics.EndpointSliceChanges.WithLabelValues("delete").Inc()
|
||||
}
|
||||
|
||||
topologyLabel := "disabled"
|
||||
topologyLabel := "Disabled"
|
||||
if r.topologyCache != nil && hintsEnabled(service.Annotations) {
|
||||
topologyLabel = "auto"
|
||||
topologyLabel = "Auto"
|
||||
}
|
||||
|
||||
numSlicesChanged := len(slicesToCreate) + len(slicesToUpdate) + len(slicesToDelete)
|
||||
|
||||
Reference in New Issue
Block a user