From 4edd40d584879ebd81bce88f04bc294789175eb0 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 7 Oct 2015 12:56:55 +0100 Subject: [kubernetes] do not reverse-sort journald logs Drop the '-r' when obtaining logs from journald to be consistent with other plugins: users can sort log entries in whatever order they prefer on the analysis system. Signed-off-by: Bryn M. Reeves --- sos/plugins/kubernetes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py index 59b6b53f..3399b2ed 100644 --- a/sos/plugins/kubernetes.py +++ b/sos/plugins/kubernetes.py @@ -35,11 +35,11 @@ class kubernetes(Plugin, RedHatPlugin): self.add_cmd_output("kubectl get -o json services") self.add_cmd_output("kubectl get -o json replicationController") self.add_cmd_output("kubectl get -o json events") - self.add_cmd_output("journalctl -r -u kubelet") - self.add_cmd_output("journalctl -r -u kube-apiserver") - self.add_cmd_output("journalctl -r -u kube-controller-manager") - self.add_cmd_output("journalctl -r -u kube-scheduler") - self.add_cmd_output("journalctl -r -u kube-proxy") + self.add_cmd_output("journalctl -u kubelet") + self.add_cmd_output("journalctl -u kube-apiserver") + self.add_cmd_output("journalctl -u kube-controller-manager") + self.add_cmd_output("journalctl -u kube-scheduler") + self.add_cmd_output("journalctl -u kube-proxy") if self.get_option('podslog'): result = self.get_command_output("kubectl get pods") -- cgit