Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d99b68a6
Commit
d99b68a6
authored
Oct 19, 2018
by
Matt Matejczyk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update annotation name and documentation.
parent
536cee71
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
10 deletions
+34
-10
annotation_key_constants.go
pkg/apis/core/annotation_key_constants.go
+17
-5
annotation_key_constants.go
staging/src/k8s.io/api/core/v1/annotation_key_constants.go
+17
-5
No files found.
pkg/apis/core/annotation_key_constants.go
View file @
d99b68a6
...
...
@@ -83,9 +83,21 @@ const (
// Not all cloud providers support this annotation, though AWS & GCE do.
AnnotationLoadBalancerSourceRangesKey
=
"service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastUpdateTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (in milliseconds) 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
EndpointsLastUpdateTriggerTime
=
"endpoints.kubernetes.io/last-update-trigger-time"
// EndpointsLastChangeTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (in milliseconds) of the last change, of some pod or service object,
// that triggered the endpoints object change. In other words, if a Pod / Service changed at time
// T0, that change was observed by endpoints controller at T1, and the Endpoints object was
// changed at T2, the EndpointsLastChangeTriggerTime would be set to T0.
//
// The "endpoints change trigger" here means any Pod or Service change that resulted in the
// Endpoints object change.
//
// Given the definition of the "endpoints change trigger", please note that this annotation will
// be set ONLY for endpoints object changes triggered by either Pod or Service change. If the
// Endpoints object changes due to other reasons, this annotation won't be set (or updated if it's
// already set).
//
// This annotation will be used to compute the in-cluster network programming latency SLI, see
// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
EndpointsLastChangeTriggerTime
=
"endpoints.kubernetes.io/last-change-trigger-time"
)
staging/src/k8s.io/api/core/v1/annotation_key_constants.go
View file @
d99b68a6
...
...
@@ -79,9 +79,21 @@ const (
// Not all cloud providers support this annotation, though AWS & GCE do.
AnnotationLoadBalancerSourceRangesKey
=
"service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastUpdateTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (in milliseconds) 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
EndpointsLastUpdateTriggerTime
=
"endpoints.kubernetes.io/last-update-trigger-time"
// EndpointsLastChangeTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (in milliseconds) of the last change, of some pod or service object,
// that triggered the endpoints object change. In other words, if a Pod / Service changed at time
// T0, that change was observed by endpoints controller at T1, and the Endpoints object was
// changed at T2, the EndpointsLastChangeTriggerTime would be set to T0.
//
// The "endpoints change trigger" here means any Pod or Service change that resulted in the
// Endpoints object change.
//
// Given the definition of the "endpoints change trigger", please note that this annotation will
// be set ONLY for endpoints object changes triggered by either Pod or Service change. If the
// Endpoints object changes due to other reasons, this annotation won't be set (or updated if it's
// already set).
//
// This annotation will be used to compute the in-cluster network programming latency SLI, see
// https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md
EndpointsLastChangeTriggerTime
=
"endpoints.kubernetes.io/last-change-trigger-time"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment