File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 selector :
77 matchLabels :
88 app : unipro-site
9- replicas : 3
9+ replicas : 1
1010 template :
1111 metadata :
1212 labels :
Original file line number Diff line number Diff line change 1+ apiVersion : autoscaling/v2beta2
2+ kind : HorizontalPodAutoscaler
3+ metadata :
4+ name : unipro-site-hpa
5+ spec :
6+ scaleTargetRef :
7+ apiVersion : apps/v1
8+ kind : Deployment
9+ name : unipro-site
10+ minReplicas : 1
11+ maxReplicas : 10
12+ metrics :
13+ - type : Resource
14+ resource :
15+ name : cpu
16+ target :
17+ type : Utilization
18+ averageUtilization : 50
19+ - type : Resource
20+ resource :
21+ name : memory
22+ target :
23+ type : Utilization
24+ averageUtilization : 50
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ resources:
77 - registry.yaml
88 - env.yaml
99 - imageUpdater.yaml
10+ - hpa.yaml
1011labels :
1112 - includeSelectors : true
1213 pairs :
You can’t perform that action at this time.
0 commit comments