You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **VariantAutoscaling CRD**: Added `scaleTargetRef` field to explicitly specify the target deployment. If not set, the controller infers the target from the `modelID` field.
172
+
- **VariantAutoscaling CRD**: Added `scaleTargetRef` field as **required**. v0.4.1 VariantAutoscaling resources without `scaleTargetRef` must be updated before upgrading:
173
+
- **Impact on Scale-to-Zero**: VAs without `scaleTargetRef` will not scale to zero properly, even with HPAScaleToZero enabled and HPA `minReplicas: 0`, because the HPA cannot reference the target deployment.
174
+
- **Migration**: Update existing VAs to include `scaleTargetRef`:
175
+
```yaml
176
+
spec:
177
+
scaleTargetRef:
178
+
kind: Deployment
179
+
name: <your-deployment-name>
180
+
```
181
+
- **Validation**: After CRD update, VAs without `scaleTargetRef` will fail validation.
0 commit comments