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
The filename to store current k8s pod meta. Meta are loaded only on initialization
121
+
The filename to store current k8s pod metadata (`map[Namespace]map[PodName]map[ContainerID]*podMeta`, where `podMeta` is a wrapper for `corev1.Pod`).
122
+
123
+
Metadata is saved once per gatherer `MaintenanceInterval` and is loaded only on initialization.
124
+
125
+
If parameter is empty, the metadata won't be cached.
122
126
123
127
> This feature is used to reuse metadata that we have already received, in particular if the kube-apiserver is unavailable.
124
128
>
125
-
> The plugin considers kube-apiserver to be unavailable from the moment the SetWatchErrorHandler handler is called until one of the ResourceEventHandlerFuncs handlers is called.
129
+
> The plugin considers kube-apiserver to be unavailable from the moment the `SetWatchErrorHandler` handler is called until one of the `ResourceEventHandlerFuncs` handlers is called.
Copy file name to clipboardExpand all lines: plugin/input/k8s/k8s.go
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -140,11 +140,15 @@ type Config struct {
140
140
141
141
// > @3@4@5@6
142
142
// >
143
-
// > The filename to store current k8s pod meta. Meta are loaded only on initialization
143
+
// > The filename to store current k8s pod metadata (`map[Namespace]map[PodName]map[ContainerID]*podMeta`, where `podMeta` is a wrapper for `corev1.Pod`).
144
+
// >
145
+
// > Metadata is saved once per gatherer `MaintenanceInterval` and is loaded only on initialization.
146
+
// >
147
+
// > If parameter is empty, the metadata won't be cached.
144
148
// >
145
149
// > > This feature is used to reuse metadata that we have already received, in particular if the kube-apiserver is unavailable.
146
150
// > >
147
-
// > > The plugin considers kube-apiserver to be unavailable from the moment the SetWatchErrorHandler handler is called until one of the ResourceEventHandlerFuncs handlers is called.
151
+
// > > The plugin considers kube-apiserver to be unavailable from the moment the `SetWatchErrorHandler` handler is called until one of the `ResourceEventHandlerFuncs` handlers is called.
0 commit comments