Skip to content

Commit

Permalink
Configurable list of remote viz queues (#1802)
Browse files Browse the repository at this point in the history
* remove duplicated file

* allow dynamic list of remote viz queues

* move bc_desktop configuration at the end

* fix yml typo

* fix ruby code injection for dynamic list
  • Loading branch information
xpillons authored Jan 4, 2024
1 parent 47eae2a commit b1f9337
Show file tree
Hide file tree
Showing 17 changed files with 97 additions and 693 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/configs/almalinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,17 @@ queues:

# Remote Viz Queues
- name: viz3d
type: remoteviz
description: "With GPU - Small GPU node for single session"
vm_size: Standard_NV12s_v3
max_count: 4
image: azhpc:azhop-desktop:almalinux-8_7:latest
ColocateNodes: false
EnableAcceleratedNetworking: true

- name: viz
type: remoteviz
description: "Without GPU - for single session"
vm_size: Standard_D8s_v5
max_count: 10
image: azhpc:azhop-desktop:almalinux-8_7:latest
Expand All @@ -75,6 +79,9 @@ queues:
min_hours: 1 # Minimum session duration - 0 is infinite

- name: largeviz3d
type: remoteviz
description: "Large With GPU - Intented for shared sessions"
shareable: true
vm_size: Standard_NV48s_v3
max_count: 4
image: azhpc:azhop-desktop:almalinux-8_7:latest
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/configs/centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ queues:

# Remote Viz Queues
- name: viz3d
type: remoteviz
description: "With GPU - Small GPU node for single session"
vm_size: Standard_NV12s_v3
max_count: 4
image: azhpc:azhop-desktop:centos-7_9:latest
Expand All @@ -73,6 +75,8 @@ queues:

- name: viz
vm_size: Standard_D8s_v5
type: remoteviz
description: "Without GPU - for single session"
max_count: 10
image: azhpc:azhop-desktop:centos-7_9:latest
ColocateNodes: false
Expand All @@ -82,6 +86,9 @@ queues:

- name: largeviz3d
vm_size: Standard_NV48s_v3
type: remoteviz
description: "Large With GPU - Intented for shared sessions"
shareable: true
max_count: 4
image: azhpc:azhop-desktop:centos-7_9:latest
ColocateNodes: false
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/configs/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ queues:

# Remote Viz Queues
- name: viz3d
type: remoteviz
description: "With GPU - Small GPU node for single session"
vm_size: Standard_NV12s_v3
max_count: 4
image: azhpc:azhop-desktop:centos-7_9:latest
Expand All @@ -270,6 +272,8 @@ queues:
EnableAcceleratedNetworking: true
- name: viz
vm_size: Standard_D8s_v5
type: remoteviz
description: "Without GPU - for single session"
max_count: 10
image: azhpc:azhop-desktop:centos-7_9:latest
ColocateNodes: false
Expand All @@ -278,6 +282,9 @@ queues:
max_hours: 12 # Maximum session duration
min_hours: 1 # Minimum session duration - 0 is infinite
- name: largeviz3d
type: remoteviz
description: "Large With GPU - Intented for shared sessions"
shareable: true
vm_size: Standard_NV48s_v3
max_count: 2
image: azhpc:azhop-desktop:centos-7_9:latest
Expand Down
17 changes: 17 additions & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,23 @@
"min_hours": {
"description": "Minimum session duration",
"type": "integer"
},
"type": {
"description": "Type of queue - mandatory for remoteviz nodes",
"enum": [
"remoteviz",
"compute"
],
"type": "string"
},
"description": {
"description": "Description of the queue that will appear in the node selection choice of the ood portal",
"type": "string"
},
"shareable": {
"description": "Whether the remote visualization node can be shared by multiple users. Defaults to false",
"type": "boolean",
"default": false
}
},
"required": [
Expand Down
14 changes: 11 additions & 3 deletions config.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,11 @@ queues:
max_count: 0
image: azhpc:azhop-compute:centos-7_9:latest
EnableAcceleratedNetworking: true
# Queue dedicated to GPU remote viz nodes. This name is fixed and can't be changed

# Queues for remote visualization
- name: viz3d
type: remoteviz # mandatory property to specify the queue is for remote viz nodes
description: "With GPU - Small GPU node for single session" # optional description that will appear in the node selection choice of the ood portal
vm_size: Standard_NV12s_v3
max_count: 4
# Use the pre-built azhop image from the marketplace
Expand All @@ -511,17 +514,22 @@ queues:
EnableAcceleratedNetworking: true
max_hours: 12 # Maximum session duration
min_hours: 1 # Minimum session duration - 0 is infinite
# Queue dedicated to share GPU remote viz nodes. This name is fixed and can't be changed

- name: largeviz3d
type: remoteviz
description: "Large With GPU - Intented for shared sessions"
shareable: true # Set to true to allow multiple users to connect to the same node - false by default
vm_size: Standard_NV48s_v3
max_count: 2
image: azhpc:azhop-desktop:centos-7_9:latest
ColocateNodes: false
EnableAcceleratedNetworking: true
max_hours: 12
min_hours: 1
# Queue dedicated to non GPU remote viz nodes. This name is fixed and can't be changed

- name: viz
type: remoteviz
description: "Without GPU - for single session"
vm_size: Standard_D8s_v5
max_count: 10
image: azhpc:azhop-desktop:centos-7_9:latest
Expand Down
Loading

0 comments on commit b1f9337

Please sign in to comment.