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: docs/source/markdown/podman-pod-create.1.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,22 @@ Add a host to the /etc/hosts file shared between all containers in the pod.
23
23
24
24
Path to cgroups under which the cgroup for the pod will be created. If the path is not absolute, the path is considered to be relative to the cgroups path of the init process. Cgroups will be created if they do not already exist.
25
25
26
+
#### **--cpus**=*amount*
27
+
28
+
Set the total number of CPUs delegated to the pod. Default is 0.000 which indicates that there is no limit on computation power.
29
+
30
+
#### **--cpuset-cpus**=*amount*
31
+
32
+
Limit the CPUs to support execution. First CPU is numbered 0. Unlike --cpus this is of type string and parsed as a list of numbers
33
+
34
+
Format is 0-3,0,1
35
+
36
+
Examples of the List Format:
37
+
38
+
0-4,9 # bits 0, 1, 2, 3, 4, and 9 set
39
+
0-2,7,12-14 # bits 0, 1, 2, 7, 12, 13, and 14 set
40
+
41
+
26
42
#### **--dns**=*ipaddr*
27
43
28
44
Set custom DNS servers in the /etc/resolv.conf file that will be shared between all containers in the pod. A special option, "none" is allowed which disables creation of /etc/resolv.conf for the pod.
// WithPodCPUSetCPUS computes and sets the Cpus linux resource string which determines the amount of cores, from those available, we are allowed to execute on
0 commit comments