From 13d12131fd45202aaad984cbc5ed4dd789efa79d Mon Sep 17 00:00:00 2001 From: Piotr Bryk Date: Fri, 21 Oct 2016 10:07:32 +0200 Subject: [PATCH] Link from crash message to the troubleshooting guide (#1348) Re #1309 --- docs/user-guide/troubleshooting.md | 8 ++++++++ src/app/backend/dashboard.go | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/user-guide/troubleshooting.md b/docs/user-guide/troubleshooting.md index 313741c66..2b55ba6f3 100644 --- a/docs/user-guide/troubleshooting.md +++ b/docs/user-guide/troubleshooting.md @@ -1,3 +1,11 @@ + + # Troubleshooting ## Authentication to the Kubernetes API Server diff --git a/src/app/backend/dashboard.go b/src/app/backend/dashboard.go index 23f35e6b9..89e1a9ac3 100644 --- a/src/app/backend/dashboard.go +++ b/src/app/backend/dashboard.go @@ -88,5 +88,7 @@ func handleFatalInitError(err error) { log.Fatalf("Error while initializing connection to Kubernetes apiserver. "+ "This most likely means that the cluster is misconfigured (e.g., it has "+ "invalid apiserver certificates or service accounts configuration) or the "+ - "--apiserver-host param points to a server that does not exist. Reason: %s", err) + "--apiserver-host param points to a server that does not exist. Reason: %s\n"+ + "Refer to the troubleshooting guide for more information: "+ + "https://github.com/kubernetes/dashboard/blob/master/docs/user-guide/troubleshooting.md", err) } -- GitLab