Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Add functionality to tail logs via kubectl (or similar tools) #37

Closed
soenkeliebau opened this issue Jan 19, 2021 · 1 comment · Fixed by stackabletech/integration-test-repo#2, #135, #145 or stackabletech/agent-integration-tests#12
Assignees
Labels
priority/high type/enhancement New feature or request

Comments

@soenkeliebau
Copy link
Member

soenkeliebau commented Jan 19, 2021

It would be brilliant to support looking at the logs of our services via kubectl logs

The code to send logs is present and could be used, I have successfully sent "test" messages to kubectl logs, however some extra work needs to be done to read the actual logs from the systemd journal.

I have found two crates that seem to support this functionality, but both have issues if I am not mistaken:

I believe this is a medium-low hanging fruit if we can find a crate that offers this functionality, as most of the supporting code could be reused from Krustlet.

@siegfriedweber
Copy link
Member

Only the options --follow and --tail are supported. The other options are not forwarded in kubelet.

# for free to subscribe to this conversation on GitHub. Already have an account? #.