Skip to content

Conversation

@mrtyler
Copy link

@mrtyler mrtyler commented Dec 11, 2018

syslog is not generally available inside a container, so use Logfile to write to the expected logfile directly.

I tried using stdout instead, but it didn't work -- no logs in kubectl logs or in Stackdriver. I think this is because run-agent.sh is the container's entrypoint, not the collectd daemon.

The good news is run-agent.sh tails /var/log/collectd.log, so as-is we do see logs in kubectl logs and in Stackdriver.

This also makes a whitespace-only, documentation-only change that causes the example DaemonSet to break :).

(See also gpii-ops#1 though I will delete that fork soon.)

syslog is not generally available inside a container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant