isolation

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Isolator

type Isolator interface {
	// GetIsolatedPods calculates and generates the isolated pods
	// the returned slice contains the isolated pod-uid
	GetIsolatedPods() []string
}

Isolator works as a helper component to judge the isolation status for each existing container; we will get different implementations.

func NewLoadIsolator

func NewLoadIsolator(conf *config.Configuration, _ interface{}, emitter metrics.MetricEmitter,
	metaCache metacache.MetaReader, metaServer *metaserver.MetaServer) Isolator

type LoadIsolator

type LoadIsolator struct {
	// contains filtered or unexported fields
}

LoadIsolator decides isolation states based on cpu-load for containers

func (*LoadIsolator) GetIsolatedPods

func (l *LoadIsolator) GetIsolatedPods() []string

Jump to

Keyboard shortcuts

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