K8S_HPA_SCALETARGETREF_API_VERSION

Constant K8S_HPA_SCALETARGETREF_API_VERSION 

Source
pub const K8S_HPA_SCALETARGETREF_API_VERSION: &'static str;
Expand description

The API version of the target resource to scale for the HorizontalPodAutoscaler.

§Notes

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

§Examples

  • "apps/v1"
  • "autoscaling/v2"