Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dongitran committed Nov 27, 2023
1 parent f9a9825 commit 7de6224
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -17,8 +16,11 @@ spec:
app: nginx-1
spec:
containers:
- name: kubernetes-engine-ci-cd-template-sha256-1
image: gcr.io/cdtest-406103/kubernetes-engine-ci-cd-template:latest
- name: nginx-container
image: gcr.io/cdtest-406103/kubernetes-engine-ci-cd-template@sha256:60799eeba355e69530841972016773e901bfc762108efeedbb7412c7741672c9
ports:
- containerPort: 8080

---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
Expand All @@ -35,12 +37,13 @@ spec:
minReplicas: 1
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80

---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 7de6224

Please sign in to comment.