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
Click to show internal directories.
Click to hide internal directories.