recommendation

package
v0.3.16 Latest Latest
Warning

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

Go to latest
Published: May 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContainerTime is the time to apply recommendation
	ContainerTime containerTag = "time"
	// ContainerNamespace is recommended container namespace
	ContainerNamespace containerTag = "namespace"
	// ContainerName is recommended container name
	ContainerName containerTag = "name"
	// ContainerPodName is pod name of recommended container
	ContainerPodName     containerTag = "pod_name"
	ContainerGranularity containerTag = "granularity"

	// ContainerPolicy is recommended policy
	ContainerPolicy containerField = "policy"
	// ContainerResourceRequestCPU is recommended CPU request
	ContainerResourceRequestCPU containerField = "resource_request_cpu"
	// ContainerResourceRequestMemory is recommended memory request
	ContainerResourceRequestMemory containerField = "resource_request_memory"
	// ContainerResourceLimitCPU is recommended CPU limit
	ContainerResourceLimitCPU containerField = "resource_limit_cpu"
	// ContainerResourceLimitMemory is recommended memory limit
	ContainerResourceLimitMemory containerField = "resource_limit_memory"
	// ContainerInitialResourceRequestCPU is recommended initial CPU request
	ContainerInitialResourceRequestCPU containerField = "initial_resource_request_cpu"
	// ContainerInitialResourceRequestMemory is recommended initial memory request
	ContainerInitialResourceRequestMemory containerField = "initial_resource_request_memory"
	// ContainerInitialResourceLimitCPU is recommended initial CPU limit
	ContainerInitialResourceLimitCPU containerField = "initial_resource_limit_cpu"
	// ContainerInitialResourceLimitMemory is recommended initial memory limit
	ContainerInitialResourceLimitMemory containerField = "initial_resource_limit_memory"
	// ContainerStartTime is recommended start time
	ContainerStartTime containerField = "start_time"
	// ContainerEndTime is recommended end time
	ContainerEndTime containerField = "end_time"
	// ContainerTopControllerName is top controller name of the pod
	ContainerTopControllerName containerField = "top_controller_name"
	// ContainerTopControllerKind is top controller kind of the pod
	ContainerTopControllerKind containerField = "top_controller_kind"
)
View Source
const (
	ContainerMetricKindLimit       = "limit"
	ContainerMetricKindRequest     = "request"
	ContainerMetricKindInitLimit   = "initLimit"
	ContainerMetricKindInitRequest = "initRequest"
)
View Source
const (
	ControllerTime      controllerTag = "time"
	ControllerNamespace controllerTag = "namespace"
	ControllerName      controllerTag = "name"

	ControllerKind            controllerField = "kind"
	ControllerType            controllerField = "type"
	ControllerCurrentReplicas controllerField = "current_replicas"
	ControllerDesiredReplicas controllerField = "desired_replicas"
	ControllerCreateTime      controllerField = "create_time"
)

Variables

View Source
var (
	// ControllerTags is list of tags of alameda_controller_recommendation measurement
	ControllerTags = []controllerTag{
		ControllerTime,
		ControllerNamespace,
		ControllerName,
	}
	// ControllerFields is list of fields of alameda_controller_recommendation measurement
	ControllerField = []controllerField{
		ControllerCurrentReplicas,
		ControllerDesiredReplicas,
		ControllerCreateTime,
		ControllerType,
		ControllerKind,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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