You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page outlines the differences in how resources are managed between Linux and Windows.
15
+
16
+
<!-- body -->
17
+
18
+
On Linux nodes, {{< glossary_tooltip text="cgroups" term_id="cgroup" >}} are used
19
+
as a pod boundary for resource control. Containers are created within that boundary
20
+
for network, process and file system isolation. The Linux cgroup APIs can be used to
21
+
gather CPU, I/O, and memory use statistics.
22
+
23
+
In contrast, Windows uses a [_job object_](https://docs.microsoft.com/windows/win32/procthread/job-objects) per container with a system namespace filter
24
+
to contain all processes in a container and provide logical isolation from the
25
+
host.
26
+
(Job objects are a Windows process isolation mechanism and are different from
27
+
what Kubernetes refers to as a {{< glossary_tooltip term_id="job" text="Job" >}}).
28
+
29
+
There is no way to run a Windows container without the namespace filtering in
30
+
place. This means that system privileges cannot be asserted in the context of the
31
+
host, and thus privileged containers are not available on Windows.
32
+
Containers cannot assume an identity from the host because the Security Account Manager
To ensure that running Pods do not starve the kubelet of CPU cycles, set this flag to `ABOVE_NORMAL_PRIORITY_CLASS` or above.
114
-
115
45
## Compatibility and limitations {#limitations}
116
46
117
47
Some node features are only available if you use a specific
@@ -490,7 +420,7 @@ For more details, refer to the deployment guide of the CSI plugin you wish to de
490
420
491
421
The behavior of some kubelet command line options behave differently on Windows, as described below:
492
422
493
-
* The `--windows-priorityclass` lets you set the scheduling priority of the kubelet process (see [CPU resource management](#resource-management-cpu))
423
+
* The `--windows-priorityclass` lets you set the scheduling priority of the kubelet process (see [CPU resource management](/docs/concepts/configuration/windows-resource-management/#resource-management-cpu))
494
424
* The `--kubelet-reserve`, `--system-reserve` , and `--eviction-hard` flags update [NodeAllocatable](/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable)
495
425
* Eviction by using `--enforce-node-allocable` is not implemented
496
426
* Eviction by using `--eviction-hard` and `--eviction-soft` are not implemented
0 commit comments