ClusterFluentdConfig
fluentd.fluent.io / v1alpha1
apiVersion: fluentd.fluent.io/v1alpha1
kind: ClusterFluentdConfig
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
ClusterFluentdConfigSpec defines the desired state of ClusterFluentdConfig
clusterFilterSelector object
Select cluster filter plugins
matchExpressions []object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key
string required
key is the label key that the selector applies to.
operator
string required
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values
[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabels
object
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
clusterInputSelector object
Select cluster input plugins
matchExpressions []object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key
string required
key is the label key that the selector applies to.
operator
string required
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values
[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabels
object
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
clusterOutputSelector object
Select cluster output plugins
matchExpressions []object
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key
string required
key is the label key that the selector applies to.
operator
string required
operator represents a key's relationship to a set of values.
Valid operators are In, NotIn, Exists and DoesNotExist.
values
[]string
values is an array of string values. If the operator is In or NotIn,
the values array must be non-empty. If the operator is Exists or DoesNotExist,
the values array must be empty. This array is replaced during a strategic
merge patch.
matchLabels
object
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
map is equivalent to an element of matchExpressions, whose key field is "key", the
operator is "In", and the values array contains only "value". The requirements are ANDed.
emit_mode
string
Emit mode. If batch, the plugin will emit events per labels matched. Enum: record, batch.
will make no effect if EnableFilterKubernetes is set false.
enum:
record, batch
pluginSortOrder
string
PluginSortOrder controls how child plugins within a label section are
ordered by their @id. "lexicographic" (default) preserves the original
string-comparison behaviour. "index" switches to numeric-aware ordering
so that a CR with more than nine plugins renders in definition order
(e.g. plugin-2 before plugin-10).
enum:
lexicographic, index
stickyTags
string
Sticky tags will match only one record from an event stream. The same tag will be treated the same way.
will make no effect if EnableFilterKubernetes is set false.
watchedConstainers
[]string
A set of container names. Ignored if left empty.
watchedHosts
[]string
A set of hosts. Ignored if left empty.
watchedLabels
object
Use this field to filter the logs, will make no effect if EnableFilterKubernetes is set false.
watchedNamespaces
[]string
A set of namespaces. The whole namespaces would be watched if left empty.
status object
ClusterFluentdConfigStatus defines the observed state of ClusterFluentdConfig
messages
string
Messages defines the plugin errors which is selected by this fluentdconfig
state
string
The state of this fluentd config
No matches. Try .spec.clusterFilterSelector for an exact path