From e1ef19731517a60433cd1e9f2b9ce1d90d38d3fa Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 8 Nov 2019 16:06:26 +0000 Subject: [PATCH] Revert "stern: add page (#3517)" (#3536) This reverts commit 0a1b47ed6fcd23baf89ca9236b678f16073242be. --- pages/osx/stern.md | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 pages/osx/stern.md diff --git a/pages/osx/stern.md b/pages/osx/stern.md deleted file mode 100644 index 5f3c10b0e8..0000000000 --- a/pages/osx/stern.md +++ /dev/null @@ -1,24 +0,0 @@ -# Stern - -> Tail Logs from multiple pods and multiple containers on Kubernetes. -> More information: . - -- Tail logs from a specific namespace: - -`stern {{pod_name}} --container {{container}} --namespace {{namespace}}` - -- Tail logs using a particular configuration file: - -`stern {{pod_name}} --container {{container}} --kubeconfig {{path/to/kubeconfig_file}}` - -- Display the last 2 hours worth of logs, tailing for newer ones: - -`stern {{pod_name}} --container {{container}} --since {{2h}}` - -- Tail logs from pods that have specific labels across all namespaces: - -`stern --container {{container}} -l "{{KEY1=VALUE1,KEY2=VALUE2}}" --all-namespaces` - -- Tail logs from containers whose name starts with "XYZ": - -`stern {{pod_name}} --container "{{XYZ*}}"`