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
Copy file name to clipboardExpand all lines: modules/nodes-nodes-kernel-arguments.adoc
+6-22Lines changed: 6 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,7 @@
7
7
[id="nodes-nodes-kernel-arguments_{context}"]
8
8
= Adding kernel arguments to nodes
9
9
10
-
In some special cases, you might want to add kernel arguments
11
-
to a set of nodes in your cluster.
12
-
This should only be done with caution and clear understanding
13
-
of the implications of the arguments you set.
10
+
In some special cases, you might want to add kernel arguments to a set of nodes in your cluster. This should only be done with caution and clear understanding of the implications of the arguments you set.
14
11
15
12
[WARNING]
16
13
====
@@ -19,30 +16,17 @@ Improper use of kernel arguments can result in your systems becoming unbootable.
19
16
20
17
Examples of kernel arguments you could set include:
21
18
22
-
* **enforcing=0**: Configures Security Enhanced Linux (SELinux) to run in permissive mode.
23
-
In permissive mode, the system acts as if SELinux is enforcing the loaded security policy,
24
-
including labeling objects and emitting access denial entries in the logs,
25
-
but it does not actually deny any operations. While not recommended for production systems,
26
-
permissive mode can be helpful for debugging.
19
+
* **enforcing=0**: Configures Security Enhanced Linux (SELinux) to run in permissive mode. In permissive mode, the system acts as if SELinux is enforcing the loaded security policy, including labeling objects and emitting access denial entries in the logs, but it does not actually deny any operations. While not supported for production systems, permissive mode can be helpful for debugging.
27
20
28
-
* **nosmt**: Disables symmetric multithreading (SMT) in the kernel.
29
-
Multithreading allows multiple logical threads for each CPU.
30
-
You could consider `nosmt` in multi-tenant environments to reduce
31
-
risks from potential cross-thread attacks. By disabling SMT, you essentially choose security over performance.
21
+
* **nosmt**: Disables symmetric multithreading (SMT) in the kernel. Multithreading allows multiple logical threads for each CPU. You could consider `nosmt` in multi-tenant environments to reduce risks from potential cross-thread attacks. By disabling SMT, you essentially choose security over performance.
32
22
33
-
* **systemd.unified_cgroup_hierarchy**: Enables
34
-
link:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html[Linux control groups version 2] (cgroups v2).
* **systemd.unified_cgroup_hierarchy**: Enables link:https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html[Linux control groups version 2] (cgroups v2). Cgroup v2 is the next version of the kernel link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/resource_management_guide/ch01[control groups] and offers multiple improvements.
38
24
39
-
See link:https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt[Kernel.org kernel parameters]
40
-
for a list and descriptions of kernel arguments.
25
+
See link:https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt[Kernel.org kernel parameters] for a list and descriptions of kernel arguments.
41
26
42
27
In the following procedure, you create a `MachineConfig` object that identifies:
43
28
44
-
* A set of machines to which you want to add the kernel argument.
45
-
In this case, machines with a worker role.
29
+
* A set of machines to which you want to add the kernel argument. In this case, machines with a worker role.
46
30
* Kernel arguments that are appended to the end of the existing kernel arguments.
47
31
* A label that indicates where in the list of machine configs the change is applied.
0 commit comments