extender

package
v2.6.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

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: "stork_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: "stork_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: "stork_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