File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 6262 with :
6363 manifests : |
6464 ${{ github.workspace }}/manifests/deployment.yaml
65+ ${{ github.workspace }}/manifests/hpa.yaml
6566 ${{ github.workspace }}/manifests/service.yaml
6667 images : ${{ env.REGISTRY_NAME }}.azurecr.io/${{ env.APP_NAME }}:${{ github.sha }}
6768 imagepullsecrets : |
Original file line number Diff line number Diff line change 11NAME = helloworld
2- REPO = qaas/ $( NAME )
3- REGISTRY = m3274968.gra5.container-registry.ovh.net
2+ REPO = helloworld
3+ REGISTRY = moussa.azurecr.io
44TAG = latest
55
66all :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Deployment
33metadata :
44 name : helloworld
55spec :
6- replicas : 1
6+ replicas : 2
77 selector :
88 matchLabels :
99 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