Re: best approach to rotate the logs and archive on Kubernetes

2020-08-04 Thread Srinivas Seema
Thank you Sachin, this solution is very helpful.. ~Srinivas On Tue, 4 Aug, 2020, 21:31 Sachin Mittal, wrote: > I think if you just log to the console, kubernetes will manage the log > rotation for you. > https://kubernetes.io/docs/concepts/cluster-administration/logging/ > You can use "kubec

Re: best approach to rotate the logs and archive on Kubernetes

2020-08-04 Thread Sachin Mittal
I think if you just log to the console, kubernetes will manage the log rotation for you. https://kubernetes.io/docs/concepts/cluster-administration/logging/ You can use "kubectl logs" command to fetch the logs or use some logging agent to move the logs centrally. On Tue, Aug 4, 2020 at 8:15 PM Sri