blob: 78301b60f0585edf5af053daa6d1cef08dae7919 [file] [log] [blame]
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: cirros-pool
spec:
maxReplicas: 10
minReplicas: 3
scaleTargetRef:
apiVersion: pool.kubevirt.io/v1alpha1
kind: VirtualMachinePool
name: cirros-pool
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 50