OS Manuals

/usr/bin/nvidia-mig-manager

MIG Partition Editor for NVIDIA GPUs

From mig-parted 0.15.1-r3 (enterprise-packages), captured 2026-11-08 by running nvidia-mig-manager --help (exit 0). permalink

NAME:
   nvidia-mig-manager - A new cli application

USAGE:
   nvidia-mig-manager [global options]

VERSION:
   0.15.1
commit: a24171d5bed3ae2a907782b88f4782f6ad53d6e2

GLOBAL OPTIONS:
   --kubeconfig string                                           absolute path to the kubeconfig file [$KUBECONFIG]
   --node-name string, -n string                                 the name of the node to watch for label changes on [$NODE_NAME]
   --config-file string, -f string                               the path to the MIG parted configuration file [$CONFIG_FILE]
   --reconfigure-script string, -s string                        script to run to do the actual MIG reconfiguration (default: "/usr/bin/reconfigure-mig.sh") [$RECONFIGURE_SCRIPT]
   --host-root-mount string, -m string                           container path where host root directory is mounted (default: "/host") [$HOST_ROOT_MOUNT]
   --host-nvidia-dir string, -i string                           host path of the directory where NVIDIA managed software directory is typically located (default: "/usr/local/nvidia") [$HOST_NVIDIA_DIR]
   --host-mig-manager-state-file string, -o string               host path where the host's systemd mig-manager state file is located (default: "/etc/systemd/system/nvidia-mig-manager.service.d/override.conf") [$HOST_MIG_MANAGER_STATE_FILE]
   --host-kubelet-systemd-service string, -k string              name of the host's 'kubelet' systemd service which may need to be shutdown/restarted across a MIG mode reconfiguration (default: "kubelet.service") [$HOST_KUBELET_SYSTEMD_SERVICE]
   --gpu-clients-file string, -g string                          the path to the file listing the GPU clients that need to be shutdown across a MIG configuration [$GPU_CLIENTS_FILE]
   --with-reboot, -r                                             reboot the node if changing the MIG mode fails for any reason [$WITH_REBOOT]
   --with-shutdown-host-gpu-clients, -d                          shutdown/restart any required host GPU clients across a MIG configuration [$WITH_SHUTDOWN_HOST_GPU_CLIENTS]
   --default-gpu-clients-namespace string, -p string             Default name of the Kubernetes namespace in which the GPU client Pods are installed in (default: "default") [$DEFAULT_GPU_CLIENTS_NAMESPACE]
   --nvidia-driver-root string, --driver-root string, -t string  Root path to the NVIDIA driver installation. Only used if --cdi-enabled is set. (default: "/run/nvidia/driver") [$NVIDIA_DRIVER_ROOT, $DRIVER_ROOT]
   --driver-root-ctr-path string, -a string                      Root path to the NVIDIA driver installation mounted in the container. Only used if --cdi-enabled is set. (default: "/run/nvidia/driver") [$DRIVER_ROOT_CTR_PATH]
   --cdi-enabled                                                 Enable CDI support [$CDI_ENABLED]
   --dev-root string, -b string                                  Root path to the NVIDIA device nodes. Only used if --cdi-enabled is set. [$NVIDIA_DEV_ROOT]
   --dev-root-ctr-path string, -j string                         Root path to the NVIDIA device nodes mounted in the container. Only used if --cdi-enabled is set. [$DEV_ROOT_CTR_PATH]
   --nvidia-cdi-hook-path string                                 Path to nvidia-cdi-hook binary on the host. (default: "/usr/local/nvidia/toolkit/nvidia-cdi-hook") [$NVIDIA_CDI_HOOK_PATH]
   --help, -h                                                    show help
   --version, -v                                                 print the version
Options (20)
OptionDescriptionSource
--kubeconfig stringabsolute path to the kubeconfig file [$KUBECONFIG]help
--node-name, -n stringthe name of the node to watch for label changes on [$NODE_NAME]help
--config-file, -f stringthe path to the MIG parted configuration file [$CONFIG_FILE]help
--reconfigure-script, -s stringscript to run to do the actual MIG reconfiguration (default: "/usr/bin/reconfigure-mig.sh") [$RECONFIGURE_SCRIPT]help
--host-root-mount, -m stringcontainer path where host root directory is mounted (default: "/host") [$HOST_ROOT_MOUNT]help
--host-nvidia-dir, -i stringhost path of the directory where NVIDIA managed software directory is typically located (default: "/usr/local/nvidia") [$HOST_NVIDIA_DIR]help
--host-mig-manager-state-file, -o stringhost path where the host's systemd mig-manager state file is located (default: "/etc/systemd/system/nvidia-mig-manager.service.d/override.conf") [$HOST_MIG_MANAGER_STATE_FILE]help
--host-kubelet-systemd-service, -k stringname of the host's 'kubelet' systemd service which may need to be shutdown/restarted across a MIG mode reconfiguration (default: "kubelet.service") [$HOST_KUBELET_SYSTEMD_SERVICE]help
--gpu-clients-file, -g stringthe path to the file listing the GPU clients that need to be shutdown across a MIG configuration [$GPU_CLIENTS_FILE]help
--with-reboot, -rreboot the node if changing the MIG mode fails for any reason [$WITH_REBOOT]help
--with-shutdown-host-gpu-clients, -dshutdown/restart any required host GPU clients across a MIG configuration [$WITH_SHUTDOWN_HOST_GPU_CLIENTS]help
--default-gpu-clients-namespace, -p stringDefault name of the Kubernetes namespace in which the GPU client Pods are installed in (default: "default") [$DEFAULT_GPU_CLIENTS_NAMESPACE]help
--nvidia-driver-root, --driver-root, -t stringRoot path to the NVIDIA driver installation.help
--driver-root-ctr-path, -a stringRoot path to the NVIDIA driver installation mounted in the container.help
--cdi-enabledEnable CDI support [$CDI_ENABLED]help
--dev-root, -b stringRoot path to the NVIDIA device nodes.help
--dev-root-ctr-path, -j stringRoot path to the NVIDIA device nodes mounted in the container.help
--nvidia-cdi-hook-path stringPath to nvidia-cdi-hook binary on the host.help
--help, -hshow helphelp
--version, -vprint the versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.