We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7893a7b commit 211e652Copy full SHA for 211e652
controllers/hpa/hpa.yml
@@ -6,7 +6,7 @@ metadata:
6
labels:
7
app: nginx
8
spec:
9
- replicas: 2
+ replicas: 1
10
selector:
11
matchLabels:
12
@@ -21,7 +21,7 @@ spec:
21
image: nginx:latest
22
resources:
23
limits:
24
- cpu: 10m ## 10% of 1 core on your system
+ cpu: 100m ## 10% of 1 core on your system
25
26
---
27
@@ -49,7 +49,7 @@ spec:
49
apiVersion: apps/v1
50
kind: Deployment
51
name: nginx
52
- minReplicas: 2
+ minReplicas: 1
53
maxReplicas: 10
54
- targetCPUUtilizationPercentage: 20
+ targetCPUUtilizationPercentage: 10
55
0 commit comments