chaos

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrashConfig

type CrashConfig struct {
	Namespace string
	Selector  labels.Selector

	KillRate        rate.Limit
	KillProbability float64
	KillMax         int
}

type Monkeys

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

Monkeys knows how to crush pods and nodes.

func NewMonkeys

func NewMonkeys(kubecli kubernetes.Interface) *Monkeys

func (*Monkeys) CrushPods

func (m *Monkeys) CrushPods(ctx context.Context, c *CrashConfig)

TODO: respect context in k8s operations.

Jump to

Keyboard shortcuts

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