Usage of /usr/bin/mpi-operator:
-add_dir_header
If true, adds the file directory to the header of the log messages
-alsologtostderr
log to standard error as well as files (no effect when -logtostderr=true)
-alsologtostderrthreshold value
logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
-cluster-domain string
The cluster domain is used to construct MPI HostFile. When this is specified, the HostFile is built with "<pod-name>.<mpi-job-name>.<namespace>.svc.<cluster-domain>".
Otherwise, that is built with <pod-name>.<mpi-job-name>.<namespace>.svc
-controller-queue-burst int
Maximum burst of the controller events queue. (default 100)
-controller-queue-rate-limit int
Rate limit of the controller events queue . (default 10)
-gang-scheduling string
Set gang scheduler name if enable gang scheduling. Now Supporting volcano and scheduler-plugins.
Note: If you set another scheduler name, the mpi-operator assumes it's the scheduler-plugins
-kube-api-burst int
Maximum burst for throttle. (default 10)
-kube-api-qps int
QPS indicates the maximum QPS to the master from this client. (default 5)
-kubeConfig string
Path to a kubeConfig. Only required if out-of-cluster.
-legacy_stderr_threshold_behavior
If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
-lock-namespace string
Set locked namespace name while enabling leader election. (default "mpi-operator")
-log_backtrace_at value
when logging hits line file:N, emit a stack trace
-log_dir string
If non-empty, write log files in this directory (no effect when -logtostderr=true)
-log_file string
If non-empty, use this log file (no effect when -logtostderr=true)
-log_file_max_size uint
Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
-logtostderr
log to standard error instead of files (default true)
-master string
The url of the Kubernetes API server,
will overrides any value in kubeconfig, only required if out-of-cluster.
-monitoring-port int
Endpoint port for displaying monitoring metrics. It can be set to "0" to disable the metrics serving.
-namespace string
The namespace to monitor mpijobs. If unset, it monitors all namespaces cluster-wide.
If set, it only monitors mpijobs in the given namespace.
-one_output
If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
-skip_headers
If true, avoid header prefixes in the log messages
-skip_log_headers
If true, avoid headers when opening log files (no effect when -logtostderr=true)
-stderrthreshold value
logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2)
-threadiness int
How many threads to process the main logic (default 2)
-v value
number for the log level verbosity
-version
Show version and quit
-vmodule value
comma-separated list of pattern=N settings for file-filtered logging
Options (28)
| Option | Description | Source |
|---|
-add_dir_header | If true, adds the file directory to the header of the log messages | help |
-alsologtostderr | log to standard error as well as files (no effect when -logtostderr=true) | help |
-alsologtostderrthreshold value | logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true) | help |
-cluster-domain string | | help |
-controller-queue-burst int | Maximum burst of the controller events queue. | help |
-controller-queue-rate-limit int | Rate limit of the controller events queue . | help |
-gang-scheduling string | Set gang scheduler name if enable gang scheduling. | help |
-kube-api-burst int | Maximum burst for throttle. | help |
-kube-api-qps int | QPS indicates the maximum QPS to the master from this client. | help |
-kubeConfig string | Path to a kubeConfig. | help |
-legacy_stderr_threshold_behavior | If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). | help |
-lock-namespace string | Set locked namespace name while enabling leader election. | help |
-log_backtrace_at value | when logging hits line file:N, emit a stack trace | help |
-log_dir string | If non-empty, write log files in this directory (no effect when -logtostderr=true) | help |
-log_file string | If non-empty, use this log file (no effect when -logtostderr=true) | help |
-log_file_max_size uint | Defines the maximum size a log file can grow to (no effect when -logtostderr=true). | help |
-logtostderr | log to standard error instead of files (default true) | help |
-master string | The url of the Kubernetes API server, will overrides any value in kubeconfig, only required if out-of-cluster. | help |
-monitoring-port int | Endpoint port for displaying monitoring metrics. | help |
-namespace string | The namespace to monitor mpijobs. | help |
-one_output | If true, only write logs to their native severity level (vs also writing to each lower severity level; | help |
-skip_headers | If true, avoid header prefixes in the log messages | help |
-skip_log_headers | If true, avoid headers when opening log files (no effect when -logtostderr=true) | help |
-stderrthreshold value | logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true unless -legacy_stderr_threshold_behavior=false) (default 2) | help |
-threadiness int | How many threads to process the main logic (default 2) | help |
-v value | number for the log level verbosity | help |
-version | Show version and quit | help |
-vmodule value | comma-separated list of pattern=N settings for file-filtered logging | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.