Metrics gathering
Adding and testing the vlogger sidecar
Vertica provides the vlogger image that sends logs from vertica.log
to standard output on the host node for log aggregation.
To add the sidecar to the CR, add an element to the spec.sidecars
definition:
To test the sidecar, run the following command and verify that it returns logs:
Core file for Vertica server container process
In some circumstances, you might need to examine a core file that contains information about the Vertica server container process:
-
For the custom resource
securityContext
value, set theprivileged
property totrue
: -
On the host machine, verify that
/proc/sys/kernel/core_pattern
is set tocore
:The
/proc/sys/kernel/core_pattern
file is not namespaced, so setting this value affects all containers running on that host.
When Vertica generates a core, the machine writes a message to vertica.log
that indicates where you can locate the core file.