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

Use latest Tensorflow image for Tensorboard. #2140

Merged
merged 2 commits into from
Sep 21, 2019

Conversation

neuromage
Copy link
Contributor

@neuromage neuromage commented Sep 17, 2019

Fixes #2131


This change is Reviewable

@neuromage
Copy link
Contributor Author

/assign @gaoning777
/cc @jingzhang36

@Ark-kun
Copy link
Contributor

Ark-kun commented Sep 17, 2019

/retest

1 similar comment
@neuromage
Copy link
Contributor Author

/retest

@neuromage
Copy link
Contributor Author

/assign @jingzhang36

@neuromage
Copy link
Contributor Author

/retest

@Ark-kun
Copy link
Contributor

Ark-kun commented Sep 20, 2019

@neuromage

   	github.com/kubeflow/pipelines/backend/src/crd/controller/viewer	[no test files]
--- FAIL: TestReconcile_EachViewerCreatesADeployment (0.04s)
    reconciler_test.go:188: Created viewer CRD &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:viewer-123 GenerateName: Namespace:kubeflow SelfLink: UID: ResourceVersion: Generation:0 CreationTimestamp:0001-01-01 00:00:00 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} Spec:{Type:tensorboard TensorboardSpec:{LogDir:gs://tensorboard/logdir} PodTemplateSpec:{ObjectMeta:{Name: GenerateName: Namespace: SelfLink: UID: ResourceVersion: Generation:0 CreationTimestamp:0001-01-01 00:00:00 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName:} Spec:{Volumes:[] InitContainers:[] Containers:[] RestartPolicy: TerminationGracePeriodSeconds:<nil> ActiveDeadlineSeconds:<nil> DNSPolicy: NodeSelector:map[] ServiceAccountName: DeprecatedServiceAccount: AutomountServiceAccountToken:<nil> NodeName: HostNetwork:false HostPID:false HostIPC:false ShareProcessNamespace:<nil> SecurityContext:nil ImagePullSecrets:[] Hostname: Subdomain: Affinity:nil SchedulerName: Tolerations:[] HostAliases:[] PriorityClassName: Priority:<nil> DNSConfig:nil ReadinessGates:[]}}}}
        Want deployment: [&Deployment{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:viewer-123-deployment,GenerateName:,Namespace:kubeflow,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[{kubeflow.org/v1beta1 Viewer viewer-123  0xc0004e5d80 0xc0004e5d81}],Finalizers:[],ClusterName:,Initializers:nil,},Spec:DeploymentSpec{Replicas:nil,Selector:&k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{MatchLabels:map[string]string{app: viewer,deployment: viewer-123-deployment,viewer: viewer-123,},MatchExpressions:[],},Template:k8s_io_api_core_v1.PodTemplateSpec{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:,GenerateName:,Namespace:,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{app: viewer,deployment: viewer-123-deployment,viewer: viewer-123,},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:PodSpec{Volumes:[],Containers:[{viewer-123-pod tensorflow/tensorflow [] [tensorboard --logdir=gs://tensorboard/logdir --path_prefix=/tensorboard/viewer-123/]  [{ 0 6006  }] [] [] {map[] map[]} [] [] nil nil nil    nil false false false}],RestartPolicy:,TerminationGracePeriodSeconds:nil,ActiveDeadlineSeconds:nil,DNSPolicy:,NodeSelector:map[string]string{},ServiceAccountName:,DeprecatedServiceAccount:,NodeName:,HostNetwork:false,HostPID:false,HostIPC:false,SecurityContext:nil,ImagePullSecrets:[],Hostname:,Subdomain:,Affinity:nil,SchedulerName:,InitContainers:[],AutomountServiceAccountToken:nil,Tolerations:[],HostAliases:[],PriorityClassName:,Priority:nil,DNSConfig:nil,ShareProcessNamespace:nil,ReadinessGates:[],},},Strategy:DeploymentStrategy{Type:,RollingUpdate:nil,},MinReadySeconds:0,RevisionHistoryLimit:nil,Paused:false,ProgressDeadlineSeconds:nil,},Status:DeploymentStatus{ObservedGeneration:0,Replicas:0,UpdatedReplicas:0,AvailableReplicas:0,UnavailableReplicas:0,Conditions:[],ReadyReplicas:0,CollisionCount:nil,},}]
        Got deployment: [&Deployment{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:viewer-123-deployment,GenerateName:,Namespace:kubeflow,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[{kubeflow.org/v1beta1 Viewer viewer-123  0xc000037a38 0xc000037a39}],Finalizers:[],ClusterName:,Initializers:nil,},Spec:DeploymentSpec{Replicas:nil,Selector:&k8s_io_apimachinery_pkg_apis_meta_v1.LabelSelector{MatchLabels:map[string]string{app: viewer,deployment: viewer-123-deployment,viewer: viewer-123,},MatchExpressions:[],},Template:k8s_io_api_core_v1.PodTemplateSpec{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:,GenerateName:,Namespace:,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{app: viewer,deployment: viewer-123-deployment,viewer: viewer-123,},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Spec:PodSpec{Volumes:[],Containers:[{viewer-123-pod tensorflow/tensorflow:1.11.0 [] [tensorboard --logdir=gs://tensorboard/logdir --path_prefix=/tensorboard/viewer-123/]  [{ 0 6006  }] [] [] {map[] map[]} [] [] nil nil nil    nil false false false}],RestartPolicy:,TerminationGracePeriodSeconds:nil,ActiveDeadlineSeconds:nil,DNSPolicy:,NodeSelector:map[string]string{},ServiceAccountName:,DeprecatedServiceAccount:,NodeName:,HostNetwork:false,HostPID:false,HostIPC:false,SecurityContext:nil,ImagePullSecrets:[],Hostname:,Subdomain:,Affinity:nil,SchedulerName:,InitContainers:[],AutomountServiceAccountToken:nil,Tolerations:[],HostAliases:[],PriorityClassName:,Priority:nil,DNSConfig:nil,ShareProcessNamespace:nil,ReadinessGates:[],},},Strategy:DeploymentStrategy{Type:,RollingUpdate:nil,},MinReadySeconds:0,RevisionHistoryLimit:nil,Paused:false,ProgressDeadlineSeconds:nil,},Status:DeploymentStatus{ObservedGeneration:0,Replicas:0,UpdatedReplicas:0,AvailableReplicas:0,UnavailableReplicas:0,Conditions:[],ReadyReplicas:0,CollisionCount:nil,},}]
        Diff:   []*v1.Deployment{
          	&{
          		TypeMeta:   v1.TypeMeta{},
          		ObjectMeta: v1.ObjectMeta{Name: "viewer-123-deployment", Namespace: "kubeflow", OwnerReferences: []v1.OwnerReference{{APIVersion: "kubeflow.org/v1beta1", Kind: "Viewer", Name: "viewer-123", Controller: &true, BlockOwnerDeletion: &true}}},
          		Spec: v1.DeploymentSpec{
          			Replicas: nil,
          			Selector: &v1.LabelSelector{MatchLabels: map[string]string{"app": "viewer", "deployment": "viewer-123-deployment", "viewer": "viewer-123"}},
          			Template: v1.PodTemplateSpec{
          				ObjectMeta: v1.ObjectMeta{Labels: map[string]string{"app": "viewer", "deployment": "viewer-123-deployment", "viewer": "viewer-123"}},
          				Spec: v1.PodSpec{
          					Volumes:        nil,
          					InitContainers: nil,
          					Containers: []v1.Container{
          						{
          							Name:    "viewer-123-pod",
        - 							Image:   "tensorflow/tensorflow:1.11.0",
        + 							Image:   "tensorflow/tensorflow",
          							Command: nil,
          							Args:    []string{"tensorboard", "--logdir=gs://tensorboard/logdir", "--path_prefix=/tensorboard/viewer-123/"},
          							... // 17 identical fields
          						},
          					},
          					RestartPolicy:                 "",
          					TerminationGracePeriodSeconds: nil,
          					... // 23 identical fields
          				},
          			},
          			Strategy:        v1.DeploymentStrategy{},
          			MinReadySeconds: 0,
          			... // 3 identical fields
          		},
          		Status: v1.DeploymentStatus{},
          	},
          }
--- FAIL: TestReconcile_ViewerUsesSpecifiedVolumeMountsForDeployment (0.00s)

@neuromage
Copy link
Contributor Author

Thanks @Ark-kun !

@Ark-kun
Copy link
Contributor

Ark-kun commented Sep 21, 2019

/lgtm
Are you sure the latest tf image won't break the installation one day?

@neuromage
Copy link
Contributor Author

Are you sure the latest tf image won't break the installation one day?

We can never be sure. If it does, we'll pin the version again. Ideally, we should let the user customize version if possible. I'll file another issue for that.

@neuromage
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: neuromage

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tensorboard failed to visualize embedding
5 participants