Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConfigMapOOMRecordName = "oom-record" ConfigMapDataOOMRecord = "data" )
Variables ¶
This section is empty.
Functions ¶
func IsOOMKilled ¶
Types ¶
type PodOOMRecorder ¶
type PodOOMRecorder struct { client.Client OOMRecordMaxNumber int // contains filtered or unexported fields }
PodOOMRecorder is responsible for record pod oom event in configmap
func (*PodOOMRecorder) GetOOMRecord ¶
func (r *PodOOMRecorder) GetOOMRecord() ([]OOMRecord, error)
func (*PodOOMRecorder) Run ¶
func (r *PodOOMRecorder) Run(stopCh <-chan struct{}) error
func (*PodOOMRecorder) SetupWithManager ¶
func (r *PodOOMRecorder) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.