Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Limit = opmetrics.NewPrometheusGauge( crmetrics.Registry, prometheus.GaugeOpts{ Namespace: metrics.Namespace, Subsystem: metrics.NodePoolSubsystem, Name: "limit", Help: "Limits specified on the nodepool that restrict the quantity of resources provisioned. Labeled by nodepool name and resource type.", }, []string{ resourceTypeLabel, nodePoolNameLabel, }, ) Usage = opmetrics.NewPrometheusGauge( crmetrics.Registry, prometheus.GaugeOpts{ Namespace: metrics.Namespace, Subsystem: metrics.NodePoolSubsystem, Name: "usage", Help: "The amount of resources that have been provisioned for a nodepool. Labeled by nodepool name and resource type.", }, []string{ resourceTypeLabel, nodePoolNameLabel, }, ) )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) *Controller
NewController constructs a controller instance
Click to show internal directories.
Click to hide internal directories.