File tree 4 files changed +16
-3
lines changed
4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 62
62
with :
63
63
manifests : |
64
64
${{ github.workspace }}/manifests/deployment.yaml
65
+ ${{ github.workspace }}/manifests/hpa.yaml
65
66
${{ github.workspace }}/manifests/service.yaml
66
67
images : ${{ env.REGISTRY_NAME }}.azurecr.io/${{ env.APP_NAME }}:${{ github.sha }}
67
68
imagepullsecrets : |
Original file line number Diff line number Diff line change 1
1
NAME = helloworld
2
- REPO = qaas/ $( NAME )
3
- REGISTRY = m3274968.gra5.container-registry.ovh.net
2
+ REPO = helloworld
3
+ REGISTRY = moussa.azurecr.io
4
4
TAG = latest
5
5
6
6
all :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Deployment
3
3
metadata :
4
4
name : helloworld
5
5
spec :
6
- replicas : 1
6
+ replicas : 2
7
7
selector :
8
8
matchLabels :
9
9
app : helloworld
Original file line number Diff line number Diff line change
1
+ apiVersion : autoscaling/v1
2
+ kind : HorizontalPodAutoscaler
3
+ metadata :
4
+ name : helloworld
5
+ spec :
6
+ maxReplicas : 10 # define max replica count
7
+ minReplicas : 2 # define min replica count
8
+ scaleTargetRef :
9
+ apiVersion : apps/v1
10
+ kind : Deployment
11
+ name : helloworld
12
+ targetCPUUtilizationPercentage : 50 # target CPU utilization
You can’t perform that action at this time.
0 commit comments