extender

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: 19 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HyperConvergedPodsCounter for pods hyper-converged by stork scheduler i.e scheduled on
	// node where replicas for all pod volumes exists
	HyperConvergedPodsCounter = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "hyperconverged_pods_total",
		Help: "The total number of pods hyper-converged by stork scheduler",
	}, []string{"pod", "namespace"})
	// NonHyperConvergePodsCounter for pods which are placed on driver node but not on node
	// where pod volume replicas exists
	NonHyperConvergePodsCounter = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "non_hyperconverged_pods_total",
		Help: "The total number of pods that are not hyper-converged by stork scheduler",
	}, []string{"pod", "namespace"})
	// SemiHyperConvergePodsCounter for pods which scheduled on node where replicas for all
	// volumes does not exists
	SemiHyperConvergePodsCounter = prometheus.NewGaugeVec(prometheus.GaugeOpts{
		Name: "semi_hyperconverged_pods_total",
		Help: "The total number of pods that are partially hyper-converged by stork scheduler",
	}, []string{"pod", "namespace"})
)

Functions

This section is empty.

Types

type Extender

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

Extender Scheduler extender

func (*Extender) Start

func (e *Extender) Start() error

Start Starts the extender

func (*Extender) Stop

func (e *Extender) Stop() error

Stop Stops the extender

Jump to

Keyboard shortcuts

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