monitor

package
v2.6.2-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HealthCounter for pods which are rescheduled by stork monitor
	HealthCounter = prometheus.NewCounter(prometheus.CounterOpts{
		Name: "pods_reschduled_total",
		Help: "The total number of pods reschduler by stork pod monitor",
	})
)

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Driver      volume.Driver
	IntervalSec int64
	Recorder    record.EventRecorder
	// contains filtered or unexported fields
}

Monitor Storage driver monitor

func (*Monitor) Start

func (m *Monitor) Start() error

Start Starts the monitor

func (*Monitor) Stop

func (m *Monitor) Stop() error

Stop Stops the monitor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL