planning

package
v4.2.259+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerPlanningType containerTag = "planning_type"
	ContainerTime         containerTag = "time"
	ContainerNamespace    containerTag = "namespace"
	ContainerName         containerTag = "name"
	ContainerPodName      containerTag = "pod_name"
	ContainerGranularity  containerTag = "granularity"

	ContainerPolicy                       containerField = "policy"
	ContainerPolicyTime                   containerField = "policy_time"
	ContainerResourceRequestCPU           containerField = "resource_request_cpu"
	ContainerResourceRequestMemory        containerField = "resource_request_memory"
	ContainerResourceLimitCPU             containerField = "resource_limit_cpu"
	ContainerResourceLimitMemory          containerField = "resource_limit_memory"
	ContainerInitialResourceRequestCPU    containerField = "initial_resource_request_cpu"
	ContainerInitialResourceRequestMemory containerField = "initial_resource_request_memory"
	ContainerInitialResourceLimitCPU      containerField = "initial_resource_limit_cpu"
	ContainerInitialResourceLimitMemory   containerField = "initial_resource_limit_memory"
	ContainerStartTime                    containerField = "start_time"
	ContainerEndTime                      containerField = "end_time"
	ContainerTopControllerName            containerField = "top_controller_name"
	ContainerTopControllerKind            containerField = "top_controller_kind"
	ContainerPodTotalCost                 containerField = "pod_total_cost"
)
View Source
const (
	ContainerMetricKindLimit       = "limit"
	ContainerMetricKindRequest     = "request"
	ContainerMetricKindInitLimit   = "initLimit"
	ContainerMetricKindInitRequest = "initRequest"
)
View Source
const (
	ControllerPlanningType controllerTag = "planning_type"
	ControllerTime         controllerTag = "time"
	ControllerNamespace    controllerTag = "namespace"
	ControllerName         controllerTag = "name"
	ControllerType         controllerTag = "type"

	ControllerKind              controllerField = "kind"
	ControllerCurrentReplicas   controllerField = "current_replicas"
	ControllerDesiredReplicas   controllerField = "desired_replicas"
	ControllerCreateTime        controllerField = "create_time"
	ControllerCurrentCPURequest controllerField = "current_cpu_requests"
	ControllerCurrentMEMRequest controllerField = "current_mem_requests"
	ControllerCurrentCPULimit   controllerField = "current_cpu_limits"
	ControllerCurrentMEMLimit   controllerField = "current_mem_limits"
	ControllerDesiredCPULimit   controllerField = "desired_cpu_limits"
	ControllerDesiredMEMLimit   controllerField = "desired_mem_limits"
	ControllerTotalCost         controllerField = "total_cost"
)

Variables

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

		ControllerCurrentCPURequest,
		ControllerCurrentMEMRequest,
		ControllerCurrentCPULimit,
		ControllerCurrentMEMLimit,
		ControllerDesiredCPULimit,
		ControllerDesiredMEMLimit,
		ControllerTotalCost,
	}
)

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