kubeEvent

A source to receive Kubernetes events.

For usage, see Collect Kubernetes Events

Example

  1. sources:
  2. - type: kubeEvent
  3. name: event

kubeconfig

fieldtyperequireddefaultdescription
kubeconfigstringfalsekubeconfig used to connect to Kubernetes. not required when Loggie is deployed in Kubernetes.

master

fieldtyperequireddefaultdescription
masterstringfalsemaster address used to connect to Kubernetes. not required when Loggie is deployed in Kubernetes.

bufferSize

fieldtyperequireddefaultdescription
bufferSizeintfalse1000The size of the listening queue, the minimum is 1.

watchLatestEvents

fieldtyperequireddefaultdescription
watchLatestEventsboolfalsefalseWhether to only listen to the latest events

Since Loggie will re-list all events after restarting, repeated sending could happen. If you do not want repeated sending, you can set it to true. Of course, it may lead to the loss of newly generated events during the restart time period.

blackListNamespaces

fieldtyperequireddefaultdescription
blackListNamespacesstring arrayfalseDo not receive events generated in the namespaces defined in it.