Rename and update the doc.

This commit is contained in:
Matt Matejczyk 2018-10-19 13:11:56 -04:00
parent 7f7a4590b9
commit 4cdab7c985
2 changed files with 10 additions and 10 deletions

View File

@ -83,9 +83,9 @@ const (
// Not all cloud providers support this annotation, though AWS & GCE do. // Not all cloud providers support this annotation, though AWS & GCE do.
AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges" AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastTriggerTime is the annotation key, set for endpoints objects, that represents the // EndpointsLastUpdateTriggerTime is the annotation key, set for endpoints objects, that
// timestamp (in milliseconds) of the last change that triggered the endpoints object update. // represents the timestamp (in milliseconds) of the last change that triggered the endpoints
// This annotation will be used to compute the in-cluster network programming SLI. See // object update. This annotation will be used to compute the in-cluster network programming SLI.
// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md // See https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
EndpointsLastTriggerTime = "kubernetes.io/endpoints.last-trigger-time" EndpointsLastUpdateTriggerTime = "endpoints.kubernetes.io/last-update-trigger-time"
) )

View File

@ -79,9 +79,9 @@ const (
// Not all cloud providers support this annotation, though AWS & GCE do. // Not all cloud providers support this annotation, though AWS & GCE do.
AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges" AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastTriggerTime is the annotation key, set for endpoints objects, that represents the // EndpointsLastUpdateTriggerTime is the annotation key, set for endpoints objects, that
// timestamp (in milliseconds) of the last change that triggered the endpoints object update. // represents the timestamp (in milliseconds) of the last change that triggered the endpoints
// This annotation will be used to compute the in-cluster network programming SLI. See // object update. This annotation will be used to compute the in-cluster network programming SLI.
// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md // See https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
EndpointsLastTriggerTime = "kubernetes.io/endpoints.last-trigger-time" EndpointsLastUpdateTriggerTime = "endpoints.kubernetes.io/last-update-trigger-time"
) )