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
-`--klogLevel` (integer, default `0`): Global log level for klog (0-9)
42
+
-`--output-format` (string, default `""`): Logging output format (`json` or `console`)
43
+
44
+
### Resource Watching
45
+
46
+
-`--watch-namespace` (string, default `""`): Filter watched objects by namespace
47
+
-`--watch-logging-name` (string, default `""`): Filter objects by logging resource name
48
+
-`--watch-labeled-children` (boolean, default `false`): Watch child resources only with logging operator's name label (`app.kubernetes.io/name: fluentd|fluentbit|syslog-ng`)
49
+
-`--watch-labeled-secrets` (boolean, default `false`): Watch secrets only with `logging.banzaicloud.io/watch: enabled` label
50
+
51
+
> **Note on Combinations:**
52
+
> - If `watch-namespace` is set, it narrows the scope for ALL watched resources
53
+
> -`watch-logging-name` and `watch-labeled-children` can be combined to further restrict child resource watching
54
+
> -`watch-labeled-children` and `watch-labeled-secrets` apply independent label filters
55
+
> - Using multiple filters creates an increasingly restrictive watch scope
56
+
> - Most restrictive scenario: All three flags set will significantly limit the operator's resource visibility
57
+
58
+
### Controller Management
59
+
60
+
-`--enable-leader-election` (boolean, default `false`): Ensure only one active controller manager
61
+
-`--finalizer-cleanup` (boolean, default `false`): Remove finalizers during operator shutdown, useful for `Helm` uninstallation
-`--sync-period` (string, default `""`): Minimum frequency for reconciling watched resources, for example, `30s`, or `2h45m`. Valid time units are "ms", "s", "m", "h".
64
+
65
+
To add arguments with `Helm` you can use the `extraArgs` field e.g:
0 commit comments