-
Notifications
You must be signed in to change notification settings - Fork 191
No content returned by cat command #577
Comments
could have a try with |
@gnawux The command executes success, so there is no non-zero return code. |
@feiskyer all the non zero size files are symlink, and can't tell if they are empty at that time. |
any update on this issue? |
|
|
If the pod is started with
|
If we add a newline character at the end of https://github.com/feiskyer/ops/blob/master/kubernetes/examples/projected-volume.yaml#L28, e.g.,
A simple reproducer:
It seems the json file logger is missing container output when there is no terminating newline character. |
@bergwolf Could we add a fix for this? |
I'm still looking for the root cause but yes it needs to be fixed. |
While executing a container with command
sh -c 'ls -al /all && cat /all/podname && cat /all/secret-data && cat /all/configmap-data'
,ls
shows file size is not zero, but there is no content returned by following cat commands:Releated hyperd log: hyperd.log.txt
The text was updated successfully, but these errors were encountered: