Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add visualization-server service to lightweight deployment #1844

Prev Previous commit
Next Next commit
Added log message to indicate when visualization service is unreachable
  • Loading branch information
ajchili committed Aug 21, 2019
commit ec55308e36628b10c4116857971b7a6a69790473
2 changes: 2 additions & 0 deletions backend/src/apiserver/server/visualization_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/json"
"fmt"
"github.com/cenkalti/backoff"
"github.com/golang/glog"
"github.com/kubeflow/pipelines/backend/api/go_client"
"github.com/kubeflow/pipelines/backend/src/apiserver/resource"
"github.com/kubeflow/pipelines/backend/src/common/util"
Expand Down Expand Up @@ -86,6 +87,7 @@ func isVisualizationServiceAlive(serviceURL string, initConnectionTimeout time.D
var operation = func() error {
_, err := http.Get(serviceURL)
if err != nil {
glog.Error("Unable to verify visualization service is alive!", err)
return err
}
return nil
Expand Down