K8S_HPA_SCALETARGETREF_NAME

Constant K8S_HPA_SCALETARGETREF_NAME 

Source
pub const K8S_HPA_SCALETARGETREF_NAME: &str = "k8s.hpa.scaletargetref.name";
Expand description

The name of the target resource to scale for the HorizontalPodAutoscaler.

§Notes

This maps to the name field in the scaleTargetRef of the HPA spec.

§Examples

  • "my-deployment"
  • "my-statefulset"