Update the doc to say that we will use RFC 3339 format to store the timestamp.

This commit is contained in:
Matt Matejczyk
2018-10-22 15:47:09 -04:00
parent 8014d73345
commit 6ffd88aeda
2 changed files with 10 additions and 10 deletions

View File

@@ -84,11 +84,11 @@ const (
AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastChangeTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (expressed as a Unix time in milliseconds, i.e. the number of
// milliseconds elapsed since January 1, 1970 UTC) 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.
// represents the timestamp (stored as RFC 3339 date-time string, e.g. '2018-10-22T19:32:52.1Z')
// 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.

View File

@@ -80,11 +80,11 @@ const (
AnnotationLoadBalancerSourceRangesKey = "service.beta.kubernetes.io/load-balancer-source-ranges"
// EndpointsLastChangeTriggerTime is the annotation key, set for endpoints objects, that
// represents the timestamp (expressed as a Unix time in milliseconds, i.e. the number of
// milliseconds elapsed since January 1, 1970 UTC) 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.
// represents the timestamp (stored as RFC 3339 date-time string, e.g. '2018-10-22T19:32:52.1Z')
// 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.