summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oppenheimer <davidopp@google.com>2015-07-20 00:25:07 -0700
committerDavid Oppenheimer <davidopp@google.com>2015-07-20 00:25:07 -0700
commit0302cf3c1a511e975f8be11395603a508c52d348 (patch)
treef2f018637b3780c9a96da21bcd4ecca9ad0669aa
parent43bfff4f73766effb63fb76f7ab81dafb1981308 (diff)
Absolutize links that leave the docs/ tree to go anywhere other than
to examples/ or back to docs/
-rw-r--r--event_compression.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/event_compression.md b/event_compression.md
index 5dfb0311..aea04e41 100644
--- a/event_compression.md
+++ b/event_compression.md
@@ -48,7 +48,7 @@ Event compression should be best effort (not guaranteed). Meaning, in the worst
## Design
-Instead of a single Timestamp, each event object [contains](../../pkg/api/types.go#L1111) the following fields:
+Instead of a single Timestamp, each event object [contains](http://releases.k8s.io/HEAD/pkg/api/types.go#L1111) the following fields:
* `FirstTimestamp util.Time`
* The date/time of the first occurrence of the event.
* `LastTimestamp util.Time`
@@ -72,7 +72,7 @@ Each binary that generates events:
* `event.Reason`
* `event.Message`
* The LRU cache is capped at 4096 events. That means if a component (e.g. kubelet) runs for a long period of time and generates tons of unique events, the previously generated events cache will not grow unchecked in memory. Instead, after 4096 unique events are generated, the oldest events are evicted from the cache.
- * When an event is generated, the previously generated events cache is checked (see [`pkg/client/record/event.go`](../../pkg/client/record/event.go)).
+ * When an event is generated, the previously generated events cache is checked (see [`pkg/client/record/event.go`](http://releases.k8s.io/HEAD/pkg/client/record/event.go)).
* If the key for the new event matches the key for a previously generated event (meaning all of the above fields match between the new event and some previously generated event), then the event is considered to be a duplicate and the existing event entry is updated in etcd:
* The new PUT (update) event API is called to update the existing event entry in etcd with the new last seen timestamp and count.
* The event is also updated in the previously generated events cache with an incremented count, updated last seen timestamp, name, and new resource version (all required to issue a future event update).