ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
31
vendor/platform/quay/hpa.yaml
vendored
Normal file
31
vendor/platform/quay/hpa.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
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
|
||||
Loading…
Reference in a new issue