31 lines
707 B
YAML
31 lines
707 B
YAML
|
|
---
|
||
|
|
apiVersion: autoscaling/v2
|
||
|
|
kind: HorizontalPodAutoscaler
|
||
|
|
metadata:
|
||
|
|
name: quay-registry-quay-app
|
||
|
|
namespace: quay
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: quay
|
||
|
|
app.kubernetes.io/instance: quay-registry
|
||
|
|
app.kubernetes.io/component: app
|
||
|
|
quay-operator/quayregistry: quay-registry
|
||
|
|
spec:
|
||
|
|
scaleTargetRef:
|
||
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
name: quay-registry-quay-app
|
||
|
|
minReplicas: 2
|
||
|
|
maxReplicas: 20
|
||
|
|
metrics:
|
||
|
|
- type: Resource
|
||
|
|
resource:
|
||
|
|
name: cpu
|
||
|
|
target:
|
||
|
|
type: Utilization
|
||
|
|
averageUtilization: 90
|
||
|
|
- type: Resource
|
||
|
|
resource:
|
||
|
|
name: memory
|
||
|
|
target:
|
||
|
|
type: Utilization
|
||
|
|
averageUtilization: 90
|