| 1 | suite: test horizontal pod autoscaler |
| 2 | templates: |
| 3 | - hpa.yaml |
| 4 | release: |
| 5 | name: demo |
| 6 | tests: |
| 7 | - it: should target the deployment created by this release |
| 8 | set: |
| 9 | autoscaling: |
| 10 | enabled: true |
| 11 | minReplicas: 1 |
| 12 | maxReplicas: 3 |
| 13 | targetCPUUtilizationPercentage: 80 |
| 14 | asserts: |
| 15 | - equal: |
| 16 | path: spec.scaleTargetRef.name |
| 17 | value: demo-deployment-vllm |