Skip to content

Commit

Permalink
Use latest Tensorflow image for Tensorboard. (#2140)
Browse files Browse the repository at this point in the history
* Use latest Tensorflow image for Tensorboard.

* Fix tests
  • Loading branch information
neuromage authored and k8s-ci-robot committed Sep 21, 2019
1 parent ab8f5ed commit d5316f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/crd/controller/viewer/reconciler/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func setPodSpecForTensorboard(view *viewerV1beta1.Viewer, s *corev1.PodSpec) {

c := &s.Containers[0]
c.Name = view.Name + "-pod"
c.Image = "tensorflow/tensorflow:1.11.0"
c.Image = "tensorflow/tensorflow"
c.Args = []string{
"tensorboard",
fmt.Sprintf("--logdir=%s", view.Spec.TensorboardSpec.LogDir),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func TestReconcile_EachViewerCreatesADeployment(t *testing.T) {
Spec: corev1.PodSpec{
Containers: []corev1.Container{{
Name: "viewer-123-pod",
Image: "tensorflow/tensorflow:1.11.0",
Image: "tensorflow/tensorflow",
Args: []string{
"tensorboard",
"--logdir=gs://tensorboard/logdir",
Expand Down Expand Up @@ -271,7 +271,7 @@ func TestReconcile_ViewerUsesSpecifiedVolumeMountsForDeployment(t *testing.T) {
Spec: corev1.PodSpec{
Containers: []corev1.Container{{
Name: "viewer-123-pod",
Image: "tensorflow/tensorflow:1.11.0",
Image: "tensorflow/tensorflow",
Args: []string{
"tensorboard",
"--logdir=gs://tensorboard/logdir",
Expand Down

0 comments on commit d5316f0

Please sign in to comment.