diff options
Diffstat (limited to 'event_compression.md')
| -rw-r--r-- | event_compression.md | 40 |
1 files changed, 9 insertions, 31 deletions
diff --git a/event_compression.md b/event_compression.md index c4dfc154..43f6d52b 100644 --- a/event_compression.md +++ b/event_compression.md @@ -1,34 +1,5 @@ <!-- BEGIN MUNGE: UNVERSIONED_WARNING --> -<!-- BEGIN STRIP_FOR_RELEASE --> - -<img src="http://kubernetes.io/img/warning.png" alt="WARNING" - width="25" height="25"> -<img src="http://kubernetes.io/img/warning.png" alt="WARNING" - width="25" height="25"> -<img src="http://kubernetes.io/img/warning.png" alt="WARNING" - width="25" height="25"> -<img src="http://kubernetes.io/img/warning.png" alt="WARNING" - width="25" height="25"> -<img src="http://kubernetes.io/img/warning.png" alt="WARNING" - width="25" height="25"> - -<h2>PLEASE NOTE: This document applies to the HEAD of the source tree</h2> - -If you are using a released version of Kubernetes, you should -refer to the docs that go with that version. - -<!-- TAG RELEASE_LINK, added by the munger automatically --> -<strong> -The latest release of this document can be found -[here](http://releases.k8s.io/release-1.2/docs/design/event_compression.md). - -Documentation for other releases can be found at -[releases.k8s.io](http://releases.k8s.io). -</strong> --- - -<!-- END STRIP_FOR_RELEASE --> <!-- END MUNGE: UNVERSIONED_WARNING --> @@ -71,7 +42,7 @@ entries. ## Design Instead of a single Timestamp, each event object -[contains](http://releases.k8s.io/HEAD/pkg/api/types.go#L1111) the following +[contains](http://releases.k8s.io/v1.4.0-alpha.0/pkg/api/types.go#L1111) the following fields: * `FirstTimestamp unversioned.Time` * The date/time of the first occurrence of the event. @@ -132,7 +103,7 @@ 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/unversioned/record/event.go`](http://releases.k8s.io/HEAD/pkg/client/record/event.go)). +(see [`pkg/client/unversioned/record/event.go`](http://releases.k8s.io/v1.4.0-alpha.0/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 @@ -198,6 +169,13 @@ single event to optimize etcd storage. instead of map. + + +<!-- BEGIN MUNGE: IS_VERSIONED --> +<!-- TAG IS_VERSIONED --> +<!-- END MUNGE: IS_VERSIONED --> + + <!-- BEGIN MUNGE: GENERATED_ANALYTICS --> []() <!-- END MUNGE: GENERATED_ANALYTICS --> |
