Browse Source

kubetail: add page (#2623)

Ivan Aracki 6 years ago
parent
commit
36c6b40181
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pages/common/kubetail.md

+ 19 - 0
pages/common/kubetail.md

@@ -0,0 +1,19 @@
+# kubetail
+
+> Utility to tail multiple Kubernetes pod logs at the same time.
+
+- Tail the logs of multiple pods (whose name starts with "my_app") in one go:
+
+`kubetail {{my_app}}`
+
+- Tail only a specific container from multiple pods:
+
+`kubetail {{my_app}} -c {{my_container}}`
+
+- To tail multiple containers from multiple pods:
+
+`kubetail {{my_app}} -c {{my_container_1}} -c {{my_container_2}}`
+
+- To tail multiple applications at the same time seperate them by comma:
+
+`kubetail {{my_app_1}},{{my_app_2}}`