Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigMapOOMRecordName = "oom-record" ConfigMapDataOOMRecord = "oom-data" ConfigMapOOMRecordNameSpace = "kube-system" CacheCleanTimeDurationHour = 12 DataRetentionHour = 168 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodOOMRecorder ¶
type PodOOMRecorder struct { Client corev1.CoreV1Interface OOMRecordMaxNumber int Queue workqueue.Interface // contains filtered or unexported fields }
func (*PodOOMRecorder) ListOOMRecords ¶
func (r *PodOOMRecorder) ListOOMRecords() []OOMRecord
func (*PodOOMRecorder) ListOOMRecordsFromConfigmap ¶
func (r *PodOOMRecorder) ListOOMRecordsFromConfigmap() ([]OOMRecord, error)
func (*PodOOMRecorder) Run ¶
func (r *PodOOMRecorder) Run(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.