@@ -99,9 +99,10 @@ resource requests/limits of that type for each Container in the Pod.
99
99
Limits and requests for CPU resources are measured in * cpu* units.
100
100
One cpu, in Kubernetes, is equivalent to ** 1 vCPU/Core** for cloud providers and ** 1 hyperthread** on bare-metal Intel processors.
101
101
102
- Fractional requests are allowed. A Container with
103
- ` spec.containers[].resources.requests.cpu ` of ` 0.5 ` is guaranteed half as much
104
- CPU as one that asks for 1 CPU. The expression ` 0.1 ` is equivalent to the
102
+ Fractional requests are allowed. When you define a container with
103
+ ` spec.containers[].resources.requests.cpu ` set to ` 0.5 ` , you are requesting half
104
+ as much CPU time compared to if you asked for ` 1.0 ` CPU.
105
+ For CPU resource units, the expression ` 0.1 ` is equivalent to the
105
106
expression ` 100m ` , which can be read as "one hundred millicpu". Some people say
106
107
"one hundred millicores", and this is understood to mean the same thing. A
107
108
request with a decimal point, like ` 0.1 ` , is converted to ` 100m ` by the API, and
@@ -236,7 +237,7 @@ The kubelet also uses this kind of storage to hold
236
237
container images, and the writable layers of running containers.
237
238
238
239
{{< caution >}}
239
- If a node fails, the data in its ephemeral storage can be lost.
240
+ If a node fails, the data in its ephemeral storage can be lost.
240
241
Your applications cannot expect any performance SLAs (disk IOPS for example)
241
242
from local ephemeral storage.
242
243
{{< /caution >}}
@@ -440,7 +441,7 @@ Kubernetes does not use them.
440
441
Quotas are faster and more accurate than directory scanning. When a
441
442
directory is assigned to a project, all files created under a
442
443
directory are created in that project, and the kernel merely has to
443
- keep track of how many blocks are in use by files in that project.
444
+ keep track of how many blocks are in use by files in that project.
444
445
If a file is created and deleted, but has an open file descriptor,
445
446
it continues to consume space. Quota tracking records that space accurately
446
447
whereas directory scans overlook the storage used by deleted files.
0 commit comments