File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 46
46
managementState : Managed
47
47
...
48
48
```
49
+ The log level of individual kube-controller-manager instances can be increased by setting ` .spec.logLevel ` field:
50
+ ```
51
+ $ oc explain KubeControllerManager.spec.logLevel
52
+ KIND: KubeControllerManager
53
+ VERSION: operator.openshift.io/v1
54
+ FIELD: logLevel <string>
55
+ DESCRIPTION:
56
+ logLevel is an intent based logging for an overall component. It does not
57
+ give fine grained control, but it is a simple way to manage coarse grained
58
+ logging choices that operators have to interpret for their operands. Valid
59
+ values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to "Normal".
60
+ ```
61
+ For example:
62
+ ``` yaml
63
+ apiVersion : operator.openshift.io/v1
64
+ kind : KubeControllerManager
65
+ metadata :
66
+ name : cluster
67
+ spec :
68
+ logLevel : Debug
69
+ ...
70
+ ```
71
+
72
+ Currently the log levels correspond to:
73
+
74
+ | logLevel | log level |
75
+ | -------- | --------- |
76
+ | Normal | 2 |
77
+ | Debug | 4 |
78
+ | Trace | 6 |
79
+ | TraceAll | 10 |
80
+
49
81
```
50
82
$ oc explain kubecontrollermanager
51
83
```
You can’t perform that action at this time.
0 commit comments