diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-10-07 12:56:55 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-10-07 12:56:55 +0100 |
commit | 4edd40d584879ebd81bce88f04bc294789175eb0 (patch) | |
tree | b5329ed9d6223e40374eed24c65f2746316a693a | |
parent | bb7996737902db5d25751ebbca8d293ace3bac01 (diff) | |
download | sos-4edd40d584879ebd81bce88f04bc294789175eb0.tar.gz |
[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 <bmr@redhat.com>
-rw-r--r-- | sos/plugins/kubernetes.py | 10 |
1 files 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") |