From 7aebcc5a2670031872d4089c124b1400465425a9 Mon Sep 17 00:00:00 2001 From: Frank Budinsky Date: Mon, 4 Mar 2019 18:15:19 -0500 Subject: [PATCH] kubectl logs -l only returns 10 lines (#3455) --- content/help/ops/traffic-management/deploy-guidelines/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/help/ops/traffic-management/deploy-guidelines/index.md b/content/help/ops/traffic-management/deploy-guidelines/index.md index 47575d5e96..8c24a38ec8 100644 --- a/content/help/ops/traffic-management/deploy-guidelines/index.md +++ b/content/help/ops/traffic-management/deploy-guidelines/index.md @@ -64,7 +64,7 @@ curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to myhost2.com: You can confirm that this has happened by checking Pilot's logs for a message similar to the following: {{< text bash >}} -$ kubectl logs -n istio-system -l istio=pilot -c discovery | grep "non unique port" +$ kubectl logs -n istio-system $(kubectl get pod -l istio=pilot -n istio-system -o jsonpath={.items..metadata.name}) -c discovery | grep "non unique port" 2018-09-14T19:02:31.916960Z info model skipping server on gateway mygateway2 port https.443.HTTPS: non unique port name for HTTPS port {{< /text >}}