Add EndpointsLastTriggerTime annotation.

This commit is contained in:
Matt Matejczyk 2018-10-18 09:25:27 -04:00
parent 30a06af453
commit 803ee8426d
2 changed files with 12 additions and 0 deletions

View File

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

View File

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