Skip to content

Commit 996dadc

Browse files
committed
Fixed typos
1 parent 297a721 commit 996dadc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

content/en/tko/session-5/docs/fix-apache.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ You do this by placing a Resource section in the deployment of you application/
1313

1414
``` yaml
1515
resources:
16-
requests: # Request are the expected amount of cpu & memory for normal use
17-
memory: "10Mi" # Requesting 16 Megabyte of Memory
16+
requests: # Request are the expected amount of CPU & memory for normal use
17+
memory: "10Mi" # Requesting 10 Megabyte of memory
1818
cpu: "0.5" # Requesting half of Core of a CPU
19-
limits: # Maximum amount of cpu & memory for peek use
20-
memory: "100Mi" # Maximum allowed 16 Megabyte of meory
21-
cpu: "1" # Maximum a full Core of CPU allowed at for peek use
19+
limits: # Maximum amount of CPU & memory for peek use
20+
memory: "16Mi" # Maximum allowed 16 Megabyte of memory
21+
cpu: "1" # Maximum of 1 core of CPU allowed at for peek use
2222
```
2323
2424
More information can be found here : [Resource Management for Pods and Containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
@@ -37,15 +37,15 @@ To fix the PHP/Apache deployment, edit the deployment and reduce the CPU resourc
3737
kubectl edit deployment php-apache -n apache
3838
```
3939

40-
Find the resources section and reduce the CPU limits to **2** and the CPU requests to **1** e.g.
40+
Find the resources section and reduce the CPU limits to **1** and the CPU requests to **0.5** e.g.
4141

4242
``` yaml
4343
resources:
4444
limits:
4545
memory: "16Mi"
4646
cpu: "1"
4747
requests:
48-
memory: "4Mi"
48+
memory: "10Mi"
4949
cpu: "0.5"
5050
```
5151

0 commit comments

Comments
 (0)