Skip to content

Commit

Permalink
Update hpa.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lerndevops authored May 3, 2020
1 parent 408735c commit c8106aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/hpa/hpa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
app: nginx
spec:
replicas: 3
replicas: 1
selector:
matchLabels:
app: nginx
Expand All @@ -20,7 +20,7 @@ spec:
- name: nginx
image: nginx:latest
resources:
requests:
limits:
cpu: 100m ## 10% of 1 core on your system

---
Expand Down Expand Up @@ -49,7 +49,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
name: nginx
minReplicas: 3
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 10

0 comments on commit c8106aa

Please sign in to comment.