senapati484 commented on issue #77662:
URL: https://github.com/apache/airflow/issues/77662#issuecomment-7256924951

   Proposed solution after reviewing the reproducer:
   
   1. Change the chart’s default Celery worker HPA minimum from 0 to 1, so the 
default CPU-only metric configuration always renders a valid autoscaling/v2 HPA.
   2. Preserve an explicit `minReplicas: 0` for advanced configurations, but 
validate/document that it is only valid when the HPA includes at least one 
Object or External metric, as required by Kubernetes.
   3. Add Helm rendering coverage for:
      - default HPA values -> `minReplicas: 1` with the CPU metric;
      - explicit `minReplicas: 0` plus an eligible Object/External metric;
      - explicit `minReplicas: 0` with CPU-only metrics -> a clear chart 
validation error.
   
   This keeps the common configuration valid while retaining scale-to-zero for 
configurations that satisfy the Kubernetes API constraint.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to