HostTailer
HostTailerSpec
HostTailerSpec defines the desired state of HostTailer
enableRecreateWorkloadOnImmutableFieldChange (bool, optional)
EnableRecreateWorkloadOnImmutableFieldChange enables the operator to recreate the daemonset (and possibly other resource in the future) in case there is a change in an immutable field that otherwise couldn’t be managed with a simple update.
fileTailers ([]FileTailer, optional)
List of file tailers.
image (tailer.ImageSpec, optional)
systemdTailers ([]SystemdTailer, optional)
List of systemd tailers.
workloadOverrides (*types.PodSpecBase, optional)
Override podSpec fields for the given daemonset
workloadMetaOverrides (*types.MetaBase, optional)
Override metadata of the created resources
HostTailerStatus
HostTailerStatus defines the observed state of HostTailer.
HostTailer
HostTailer is the Schema for the hosttailers API
(metav1.TypeMeta, required)
metadata (metav1.ObjectMeta, optional)
spec (HostTailerSpec, optional)
status (HostTailerStatus, optional)
HostTailerList
HostTailerList contains a list of HostTailers.
(metav1.TypeMeta, required)
metadata (metav1.ListMeta, optional)
items ([]HostTailer, required)
FileTailer
FileTailer configuration options
buffer_chunk_size (string, optional)
Set the buffer chunk size per active filetailer
buffer_max_size (string, optional)
Set the limit of the buffer size per active filetailer
containerOverrides (*types.ContainerBase, optional)
Override container fields for the given tailer
disabled (bool, optional)
Disable tailing the file
image (*tailer.ImageSpec, optional)
Override image field for the given trailer
name (string, required)
Name for the tailer
path (string, optional)
Path to the loggable file
read_from_head (bool, optional)
Start reading from the head of new log files
skip_long_lines (string, optional)
Skip long line when exceeding Buffer_Max_Size
SystemdTailer
SystemdTailer configuration options
containerOverrides (*types.ContainerBase, optional)
Override container fields for the given tailer
disabled (bool, optional)
Disable component
image (*tailer.ImageSpec, optional)
Override image field for the given trailer
maxEntries (int, optional)
Maximum entries to read when starting to tail logs to avoid high pressure
name (string, required)
Name for the tailer
path (string, optional)
Override systemd log path
systemdFilter (string, optional)
Filter to select the systemd unit, for example: kubelet.service
If the systemdFilter
is not specified, _SYSTEMD_UNIT
is used.
For example, the following HostTailer creates a systemd tailer for the kubelet.service
and for kernel logs, and logs the kernel logs under the SYSLOG_IDENTIFIER
journal field.
The generated container will have the following arguments: