Open SlavikCA opened 2 days ago
This issue doesn't have a Team:<team>
label.
I confirmed, that journal files are present inside the container:
kubectl exec -it filebeat-filebeat-w6wkx -n elk-stack -- ls -lhR /run/log/journal
...
-rw-r----- 1 root 483 8.0M Oct 2 02:46 system.journal
kubectl exec -it filebeat-filebeat-w6wkx -n elk-stack -- ls -lhR /var/log/journal
...
/var/log/journal/f93c751c5aa9e98da8a607da66d82d3c:
-rw-r----- 1 root 483 32M Oct 17 02:58 system.journal
-rw-r----- 1 root 483 32M Oct 2 02:46 system@0006237573a77e33-64d319708639609b.journal~
Is it expected, that I should be able to run journalctl
inside the container? Because I can't:
kubectl exec -it filebeat-filebeat-w6wkx -n elk-stack -- journalctl
error: Internal error occurred: error executing command in container:
failed to exec in container: failed to start exec "b215f1d5ca6d80bc52f2d1b0221ad3a262b803dd15709e7f181c5b00386085ed":
OCI runtime exec failed: exec failed: unable to start container process:
exec: "journalctl": executable file not found in $PATH: unknown
I'm running filebeat on the Harvester Kubernetes cluster:
with following values:
Nothing sent. What am I missing?