features

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package features provides sample features for the HPA primitive example.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUMetricFeature

func CPUMetricFeature(version string, targetUtilization int32) hpa.Mutation

CPUMetricFeature configures CPU-based autoscaling with the given utilization target.

func MemoryMetricFeature

func MemoryMetricFeature(enabled bool, targetUtilization int32) hpa.Mutation

MemoryMetricFeature adds memory-based autoscaling when enabled.

func ScaleBehaviorFeature

func ScaleBehaviorFeature() hpa.Mutation

ScaleBehaviorFeature configures conservative scale-down behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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