Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ type KubernetesEvents struct {
TLSVerify *bool `json:"tlsVerify,omitempty"`
// Set optional TLS virtual host.
TLSVhost string `json:"tlsVhost,omitempty"`
// Specifies the buffering mechanism for use with the input plugin, requires storage.path to be set in the service.
// Accepted values: memory or filesystem
StorageType string `json:"storageType,omitempty"`
}

func (*KubernetesEvents) Name() string {
Expand All @@ -64,6 +67,7 @@ func (k *KubernetesEvents) Params(_ plugins.SecretLoader) (*params.KVs, error) {
plugins.InsertKVString(kvs, "Kube_Retention_Time", k.KubeRetentionTime)
plugins.InsertKVString(kvs, "Kube_Namespace", k.KubeNamespace)
plugins.InsertKVString(kvs, "tls.Vhost", k.TLSVhost)
plugins.InsertKVString(kvs, "storage.type", k.StorageType)

plugins.InsertKVField(kvs, "Interval_Sec", k.IntervalSec)
plugins.InsertKVField(kvs, "Interval_Nsec", k.IntervalNsec)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ spec:
tlsVhost:
description: Set optional TLS virtual host.
type: string
storageType:
description: Set buffering method to filesystem or memory
type: string
type: object
logLevel:
enum:
Expand Down
3 changes: 3 additions & 0 deletions config/crd/bases/fluentbit.fluent.io_clusterinputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,9 @@ spec:
tlsVhost:
description: Set optional TLS virtual host.
type: string
storageType:
description: Set buffering method to filesystem or memory
type: string
type: object
logLevel:
enum:
Expand Down
1 change: 1 addition & 0 deletions docs/plugins/fluentbit/input/kubernetes_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ The KubernetesEvents input plugin allows you to collect kubernetes cluster event
| tlsDebug | Debug level between 0 (nothing) and 4 (every detail). | *int32 |
| tlsVerify | When enabled, turns on certificate validation when connecting to the Kubernetes API server. | *bool |
| tlsVhost | Set optional TLS virtual host. | string |
| storageType | Set storage type for buffering can be filesystem or memory. | string |
3 changes: 3 additions & 0 deletions manifests/setup/fluent-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2509,6 +2509,9 @@ spec:
tlsVhost:
description: Set optional TLS virtual host.
type: string
storageType:
description: Set buffering method to filesystem or memory
type: string
type: object
logLevel:
enum:
Expand Down
3 changes: 3 additions & 0 deletions manifests/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2509,6 +2509,9 @@ spec:
tlsVhost:
description: Set optional TLS virtual host.
type: string
storageType:
description: Set buffering method to filesystem or memory
type: string
type: object
logLevel:
enum:
Expand Down