You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2021/01/28 15:38:22 UTC
[incubator-datalab] branch DATALAB-2258 created (now 2d03289)
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a change to branch DATALAB-2258
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.
at 2d03289 [DATALAB-2233]: Show GPU Dataproc parameters on cluster details dialog
This branch includes the following new commits:
new 41c4f93 [DATALAB-2233]: Mock GPU parameters for Dataproc on cluster details
new 2d03289 [DATALAB-2233]: Show GPU Dataproc parameters on cluster details dialog
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 01/02: [DATALAB-2233]: Mock GPU parameters for
Dataproc on cluster details
Posted by dg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DATALAB-2258
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 41c4f931ec82d8940fb0c018b532fab8a56c8b3b
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Jan 28 12:19:49 2021 +0200
[DATALAB-2233]: Mock GPU parameters for Dataproc on cluster details
---
.../cluster-details/cluster-details.component.html | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
index 5ab9801..54c98ab 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
@@ -97,6 +97,35 @@
<div class="col"><span>{{ resource[DICTIONARY[PROVIDER][resource.image].slave_node_shape] }}</span></div>
</div>
+<!-- Start GPU-->
+ <ng-template [ngIf]="true">
+ <div class="row-wrap">
+ <div class="col">
+ <p>Master GPU type:</p>
+ </div>
+ <div class="col"><span>nvidia-tesla-t4</span></div>
+ </div>
+ <div class="row-wrap">
+ <div class="col">
+ <p>Slave GPU type:</p>
+ </div>
+ <div class="col"><span>nvidia-tesla-v100</span></div>
+ </div>
+ <div class="row-wrap">
+ <div class="col">
+ <p>Master GPU count:</p>
+ </div>
+ <div class="col"><span>8</span></div>
+ </div>
+ <div class="row-wrap">
+ <div class="col">
+ <p>Slave GPU count:</p>
+ </div>
+ <div class="col"><span>16</span></div>
+ </div>
+ </ng-template>
+<!-- /////////////////////////////////////end GPU-->
+
<div *ngIf="resource.status === 'running'">
<div class="row-wrap">
<p class="time_info">Up time {{upTimeInHours}} hour(s) since {{resource.up_time ? (resource.up_time | longDate) : "not specified."
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 02/02: [DATALAB-2233]: Show GPU Dataproc
parameters on cluster details dialog
Posted by dg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DATALAB-2258
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 2d032893ae0f04899f28dc9c6f43ea001408b805
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Jan 28 17:37:49 2021 +0200
[DATALAB-2233]: Show GPU Dataproc parameters on cluster details dialog
---
.../cluster-details/cluster-details.component.html | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
index 54c98ab..d4db786 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/cluster-details/cluster-details.component.html
@@ -77,7 +77,7 @@
<span *ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp' && resource.image === 'docker.datalab-dataengine-service'">1</span>
</div>
</div>
- <div class="row-wrap"
+ <div class="row-wrap"
*ngIf="DICTIONARY[PROVIDER].cloud_provider === 'gcp' && resource.image === 'docker.datalab-dataengine-service'">
<div class="col">
<p>Slave instance number:</p>
@@ -90,42 +90,38 @@
</div>
<div class="col"><span>{{ resource[DICTIONARY[PROVIDER][resource.image].master_node_shape] }}</span></div>
</div>
- <div class="row-wrap" *ngIf="resource.image === 'docker.datalab-dataengine-service'">
+ <div class="row-wrap" *ngIf="resource.image === 'docker.datalab-dataengine-service'">
<div class="col">
<p>Slave instance size:</p>
</div>
<div class="col"><span>{{ resource[DICTIONARY[PROVIDER][resource.image].slave_node_shape] }}</span></div>
</div>
-
-<!-- Start GPU-->
- <ng-template [ngIf]="true">
+ <ng-template [ngIf]="resource?.enabledGPU">
<div class="row-wrap">
<div class="col">
<p>Master GPU type:</p>
</div>
- <div class="col"><span>nvidia-tesla-t4</span></div>
+ <div class="col"><span>{{resource.masterGPUType}}</span></div>
</div>
<div class="row-wrap">
<div class="col">
<p>Slave GPU type:</p>
</div>
- <div class="col"><span>nvidia-tesla-v100</span></div>
+ <div class="col"><span>{{resource.slaveGPUType}}</span></div>
</div>
<div class="row-wrap">
<div class="col">
<p>Master GPU count:</p>
</div>
- <div class="col"><span>8</span></div>
+ <div class="col"><span>{{resource.masterGPUCount}}</span></div>
</div>
<div class="row-wrap">
<div class="col">
<p>Slave GPU count:</p>
</div>
- <div class="col"><span>16</span></div>
+ <div class="col"><span>{{resource.slaveGPUCount}}</span></div>
</div>
</ng-template>
-<!-- /////////////////////////////////////end GPU-->
-
<div *ngIf="resource.status === 'running'">
<div class="row-wrap">
<p class="time_info">Up time {{upTimeInHours}} hour(s) since {{resource.up_time ? (resource.up_time | longDate) : "not specified."
@@ -156,7 +152,6 @@
</p>
</div>
</div>
-
<div class="checkbox-group" *ngIf="resource.image === 'docker.datalab-dataengine'
&& resource.status === 'running'
&& environment.image !== 'docker.datalab-zeppelin'
@@ -196,7 +191,6 @@
</div>
</div>
-
<div class="row-wrap detail-info content-box" *ngIf="resource.error_message">
<p class="failed">{{resource.error_message}}</p>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org