about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-06-15T15·54-0400
committerGriffin Smith <root@gws.fyi>2020-06-15T15·54-0400
commit3b174300ae60f63f50427cde3bfd680fd3043c3a (patch)
tree91f96956c3187c76c2d1047516fdcf26b5e34d55
parent453c2d5e319cf20691f98e3bfbd7b327823c9005 (diff)
kubectl get events sorted by timestamp
-rw-r--r--home/modules/development/kube.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/modules/development/kube.nix b/home/modules/development/kube.nix
index 432704ddd315..346dd57dee7e 100644
--- a/home/modules/development/kube.nix
+++ b/home/modules/development/kube.nix
@@ -24,6 +24,8 @@ in
     "kew" = "kubectl get events -w";
     "kdel" = "kubectl delete";
     "knw" = "kubectl get nodes -w";
+    "kev" = "kubectl get events --sort-by='.metadata.creationTimestamp'";
+
     "arsy" = "argocd app sync --prune";
   };