Skip to content

Commit

Permalink
new crds
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsiv committed Jan 21, 2023
1 parent 7e9853e commit 418e707
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions gitops/fluent/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,20 @@ spec:
responses from Kubernetes API server.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
cacheUseDockerId:
description: When enabled, metadata will be fetched from
K8s when docker_id is changed.
type: boolean
dnsRetries:
description: DNS lookup retries N times until the network
start working
format: int32
type: integer
dnsWaitTime:
description: DNS lookup interval between network status
checks
format: int32
type: integer
dummyMeta:
description: If set, use dummy-meta data (for test/dev purposes)
type: boolean
Expand All @@ -160,6 +174,15 @@ spec:
kubeCAPath:
description: Absolute path to scan for certificate files
type: string
kubeMetaCacheTTL:
description: configurable TTL for K8s cached metadata. By
default, it is set to 0 which means TTL for cache entries
is disabled and cache entries are evicted at random when
capacity is reached. In order to enable this option, you
should set the number to a time interval. For example,
set this value to 60 or 60s and cache entries which have
been created more than 60s will be evicted.
type: string
kubeMetaPreloadCacheDir:
description: If set, Kubernetes meta-data can be cached/pre-loaded
from files in JSON format in this directory, named as
Expand All @@ -173,9 +196,24 @@ spec:
kubeTokenFile:
description: Token file
type: string
kubeTokenTTL:
description: configurable 'time to live' for the K8s token.
By default, it is set to 600 seconds. After this time,
the token is reloaded from Kube_Token_File or the Kube_Token_Command.
format: int32
type: integer
kubeURL:
description: API Server end-point
type: string
kubeletHost:
description: kubelet host using for HTTP request, this only
works when Use_Kubelet set to On.
type: string
kubeletPort:
description: kubelet port using for HTTP request, this only
works when useKubelet is set to On.
format: int32
type: integer
labels:
description: Include Kubernetes resource labels in the extra
metadata.
Expand Down Expand Up @@ -232,6 +270,12 @@ spec:
description: When enabled, the filter reads logs coming
in Journald format.
type: boolean
useKubelet:
description: This is an optional feature flag to get metadata
information from kubelet instead of calling Kube Server
API to enhance the log. This could mitigate the Kube API
heavy traffic issue for large cluster.
type: boolean
type: object
lua:
description: Lua defines Lua Filter configuration.
Expand Down

0 comments on commit 418e707

Please sign in to comment.