Documentation ¶
Index ¶
- func MakeDecider(ctx context.Context, pa *v1alpha1.PodAutoscaler, config *autoscaler.Config, ...) *autoscaler.Decider
- func MakeMetric(ctx context.Context, pa *v1alpha1.PodAutoscaler, config *autoscaler.Config) *autoscaler.Metric
- func MakeMetricsService(pa *pav1alpha1.PodAutoscaler, selector map[string]string) *corev1.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDecider ¶
func MakeDecider(ctx context.Context, pa *v1alpha1.PodAutoscaler, config *autoscaler.Config, svc string) *autoscaler.Decider
MakeDecider constructs a Decider resource from a PodAutoscaler taking into account the PA's ContainerConcurrency and the relevant autoscaling annotation.
func MakeMetric ¶
func MakeMetric(ctx context.Context, pa *v1alpha1.PodAutoscaler, config *autoscaler.Config) *autoscaler.Metric
MakeMetric constructs a Metric resource from a PodAutoscaler
func MakeMetricsService ¶
func MakeMetricsService(pa *pav1alpha1.PodAutoscaler, selector map[string]string) *corev1.Service
MakeMetricsService constructs a service that can be scraped for metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.