This message was deleted.
# rke2
a
This message was deleted.
c
the kubelet tells the container runtime where to put the logs. kubelet makes the directory, and when it runs a container, sets the path for that container’s logs to a file in that directory. the container runtime creates the log when the container starts.
b
The question is can the permission/ownership of the logs be changed?
c
b
There's some weird conflation in that issue about inside/outside of the container.
c
I don’t think so
I’m talking about the contents of the stdout/stderr output of the process, how to access that (i.e. podsandbox field
log_directory
and containerconfig field
log_path
in the CRI protocol).
b
This threw me off:
The logs inside the container (the running processes).
Thanks @creamy-pencil-82913