Logging/Basic logging in kubernetes.
Use “kubectl logs counter” command to fetch logs -:
Also, in kubernetes logs are created at node level.
Also, log rotation should be enabled to ensure logs don't acquire much disk space and only needed information should be present on disk.
Logs related to kubelet and container are journald and hence, present inside /var/log directory inside .log directories.