Custom Files and Commands

In addition to the default support files included in the support bundle, additional files can be added via the support section of your yaml. Files from within the application’s containers can be included, as well as output of commands executed in the container. Support files and commands are supported by both the native and kubernetes schedulers. For more complex support commands it is possible to create a config file and execute that file from a support command. These files will be available within the /scheduler directory of the support bundle.

Excluding Logs From Support Bundles

If a container’s logs may contain sensitive information or are simply large and not useful for your debugging processes, you can exclude that container’s logs from support bundles and disk persistance. To do this, add the labelcom.replicated.excludelogs=true to the container in question.

Default Support Files

By default the Support Bundle V1 will include the following files:

File

Description

/daemon/auditlogs/*

Audit log events.

/daemon/commands/date

Result of the command date. Print the system date and time.

/daemon/commands/df

Result of the command df -al. Report file system disk space usage for the local file systems.

/daemon/commands/df_inodes

Result of the command df -ali. Report file system inode usage for the local file systems.

/daemon/commands/dmesg

Result of the command dmesg. Print the kernel ring buffer.

/daemon/commands/free

Result of the command free -m. Display amount of free and used memory in the system.

/daemon/commands/hostname

Result of the command hostname. Show the system’s host name.

/daemon/commands/ip_addr_show

Result of the command ip -o addr show. Show protocol (IP or IPv6) addresses on a device.

/daemon/commands/ip_link_show

Result of the command ip -o link show. Show network devices.

/daemon/commands/ip_route_show

Result of the command ip -o route show. Show routing table entries.

/daemon/commands/ps

Result of the command ps fauxwww. Report a snapshot of the current processes.

/daemon/commands/uptime

Result of the command uptime. Tell how long the system has been running.

/daemon/docker/docker_info.json

Display system-wide information.

/daemon/docker/docker_ps_a.json

Result of the command docker ps -a. List all containers.

/daemon/etc/centos-release

A copy of the /etc/centos-release file. Contain operating system identification data for centos distribution.

/daemon/etc/default/docker

A copy of the /etc/default/docker file. Upstart docker configuration.

/daemon/etc/default/replicated

A copy of the /etc/default/replicated file. Upstart replicated configuration.

/daemon/etc/default/replicated-operator

A copy of the /etc/default/replicated-operator file. Upstart replicated-operator configuration.

/daemon/etc/hostname

A copy of the /etc/hostname file. The system’s host name.

/daemon/etc/hosts

A copy of the /etc/hosts file. Static table lookup for hostnames.

/daemon/etc/os-release

A copy of the /etc/os-release file. Contain operating system identification data.

/daemon/etc/replicated.conf

A copy of the /etc/replicated.conf file. Replicated legacy 1.x configuration.

/daemon/etc/sysconfig/docker

A copy of the /etc/sysconfig/docker file. Legacy systemd docker configuration.

/daemon/etc/sysconfig/replicated

A copy of the /etc/sysconfig/replicated file. Systemd replicated configuration.

/daemon/etc/sysconfig/replicated-operator

A copy of the /etc/sysconfig/replicated-operator file. Systemd replicated-operator configuration.

/daemon/etc/system-release

A copy of the /etc/system-release file. Contain operating system identification data.

/daemon/etc/systemd/system/docker.service.d/http-proxy.conf

A copy of the /etc/systemd/system/docker.service.d/http-proxy.conf file. Systemd docker proxy configuration.