Usage of /usr/bin/mlrun-log-collector:
-advanced-log-level int
Advanced log level for more verbose logs (0-3)
-base-dir string
The directory to store the logs in (default "/var/mlrun/logs")
-clusterization-role string
The role of the log collector in the cluster (chief, worker) (default "chief")
-get-logs-buffer-buffer-size-bytes int
Size of buffers in the buffer pool for getting logs, in bytes (default: 3.75MB) (default 3932160)
-get-logs-buffer-pool-size int
Number of buffers in the buffer pool for getting logs (default: 512 buffers) (default 512)
-kubeconfig-path string
Path to kubeconfig file
-list-runs-chunk-size int
The chunk size for listing runs in progress (default 10)
-listen-port int
GRPC listen port (default 8080)
-log-collection-buffer-pool-size int
Number of buffers in the buffer pool for collecting logs (default: 512 buffers) (default 512)
-log-collection-buffer-size-bytes int
Size of buffers in the log collection buffer pool, in bytes (default: 10MB) (default 10485760)
-log-formatter string
Log formatter (text, json) (default "text")
-log-level string
Log level (debug, info, warn, error, fatal, panic) (default "debug")
-log-time-update-bytes-interval int
Amount of logs to read between updates of the last log time in the 'in memory' state, in bytes (default: 4KB) (default 4096)
-monitoring-interval string
Periodic interval for monitoring the goroutines collecting logs (default 10s) (default "10s")
-namespace string
The namespace to collect logs from
-read-log-wait-time string
Wait time until trying to get more logs from the pod (default 3s) (default "3s")
-state-file-update-interval string
Periodic interval for updating the state file (default 10s) (default "10s")
Options (17)
| Option | Description | Source |
|---|
-advanced-log-level int | Advanced log level for more verbose logs (0-3) | help |
-base-dir string | The directory to store the logs in (default "/var/mlrun/logs") | help |
-clusterization-role string | The role of the log collector in the cluster (chief, worker) (default "chief") | help |
-get-logs-buffer-buffer-size-bytes int | Size of buffers in the buffer pool for getting logs, in bytes (default: 3.75MB) (default 3932160) | help |
-get-logs-buffer-pool-size int | Number of buffers in the buffer pool for getting logs (default: 512 buffers) (default 512) | help |
-kubeconfig-path string | Path to kubeconfig file | help |
-list-runs-chunk-size int | The chunk size for listing runs in progress (default 10) | help |
-listen-port int | GRPC listen port (default 8080) | help |
-log-collection-buffer-pool-size int | Number of buffers in the buffer pool for collecting logs (default: 512 buffers) (default 512) | help |
-log-collection-buffer-size-bytes int | Size of buffers in the log collection buffer pool, in bytes (default: 10MB) (default 10485760) | help |
-log-formatter string | Log formatter (text, json) (default "text") | help |
-log-level string | Log level (debug, info, warn, error, fatal, panic) (default "debug") | help |
-log-time-update-bytes-interval int | Amount of logs to read between updates of the last log time in the 'in memory' state, in bytes (default: 4KB) (default 4096) | help |
-monitoring-interval string | Periodic interval for monitoring the goroutines collecting logs (default 10s) (default "10s") | help |
-namespace string | The namespace to collect logs from | help |
-read-log-wait-time string | Wait time until trying to get more logs from the pod (default 3s) (default "3s") | help |
-state-file-update-interval string | Periodic interval for updating the state file (default 10s) (default "10s") | 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.