Skip to content

Commit 86eff7b

Browse files
authored
[EMF main] add NPU profiles for EMF deployment packages and configurable ports for multi app deployment (#1947)
1 parent 0b1455b commit 86eff7b

32 files changed

+890
-12
lines changed

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pallet-defect-detection/application.yaml

Lines changed: 101 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@ profiles:
5454
type: string
5555
secret: true
5656
mandatory: true
57+
- name: env.S3_STORAGE_PORT
58+
displayName: "MinIO NodePort"
59+
type: number
60+
default: "30800"
61+
- name: config.nginx.ext.http_port
62+
displayName: "Nginx HTTP NodePort"
63+
type: number
64+
default: "30080"
65+
- name: config.nginx.ext.https_port
66+
displayName: "Nginx HTTPS NodePort"
67+
type: number
68+
default: "30443"
69+
- name: config.coturn.ext.coturn_tcp_port
70+
displayName: "Coturn TCP NodePort"
71+
type: number
72+
default: "30478"
73+
- name: config.coturn.ext.coturn_udp_port
74+
displayName: "Coturn UDP NodePort"
75+
type: number
76+
default: "30478"
5777
- name: "with-intel-gpu"
5878
description: "Uses Intel GPU for inferencing, needs Intel GPU extension"
5979
valuesFileName: "pdd-values-with-intel-gpu.yaml"
@@ -94,11 +114,91 @@ profiles:
94114
type: string
95115
secret: true
96116
mandatory: true
117+
- name: env.S3_STORAGE_PORT
118+
displayName: "MinIO NodePort"
119+
type: number
120+
default: "30800"
121+
- name: config.nginx.ext.http_port
122+
displayName: "Nginx HTTP NodePort"
123+
type: number
124+
default: "30080"
125+
- name: config.nginx.ext.https_port
126+
displayName: "Nginx HTTPS NodePort"
127+
type: number
128+
default: "30443"
129+
- name: config.coturn.ext.coturn_tcp_port
130+
displayName: "Coturn TCP NodePort"
131+
type: number
132+
default: "30478"
133+
- name: config.coturn.ext.coturn_udp_port
134+
displayName: "Coturn UDP NodePort"
135+
type: number
136+
default: "30478"
97137
- name: gpu.type
98138
displayName: "GPU type"
99139
type: string
100140
default: "gpu.intel.com/i915"
101141
- name: gpu.count
102142
displayName: "GPU count"
103143
type: number
104-
default: "1"
144+
default: "1"
145+
- name: "with-intel-npu"
146+
description: "Uses NPU profile with privileged access enabled"
147+
valuesFileName: "pdd-values-with-intel-npu.yaml"
148+
parameterTemplates:
149+
- name: env.HOST_IP
150+
displayName: "IP address of the target Edge Node"
151+
type: string
152+
mandatory: true
153+
- name: webrtcturnserver.username
154+
displayName: "WebRTC user"
155+
type: string
156+
mandatory: true
157+
- name: webrtcturnserver.password
158+
displayName: "WebRTC password"
159+
type: string
160+
secret: true
161+
mandatory: true
162+
- name: env.http_proxy
163+
displayName: "Http proxy"
164+
type: string
165+
default: ""
166+
- name: env.https_proxy
167+
displayName: "Https proxy"
168+
type: string
169+
default: ""
170+
- name: env.MINIO_ACCESS_KEY
171+
displayName: "Minio access key"
172+
type: string
173+
secret: true
174+
mandatory: true
175+
- name: env.MINIO_SECRET_KEY
176+
displayName: "Minio secret key"
177+
type: string
178+
secret: true
179+
mandatory: true
180+
- name: env.POSTGRES_PASSWORD
181+
displayName: "Postgres database password"
182+
type: string
183+
secret: true
184+
mandatory: true
185+
- name: env.S3_STORAGE_PORT
186+
displayName: "MinIO NodePort"
187+
type: number
188+
default: "30800"
189+
- name: config.nginx.ext.http_port
190+
displayName: "Nginx HTTP NodePort"
191+
type: number
192+
default: "30080"
193+
- name: config.nginx.ext.https_port
194+
displayName: "Nginx HTTPS NodePort"
195+
type: number
196+
default: "30443"
197+
- name: config.coturn.ext.coturn_tcp_port
198+
displayName: "Coturn TCP NodePort"
199+
type: number
200+
default: "30478"
201+
- name: config.coturn.ext.coturn_udp_port
202+
displayName: "Coturn UDP NodePort"
203+
type: number
204+
default: "30478"

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pallet-defect-detection/deployment-package.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ deploymentProfiles:
2727
description: "Uses Intel GPU for inferencing, needs Intel GPU extension"
2828
applicationProfiles:
2929
- application: "pdd-app"
30-
profile: "with-intel-gpu"
30+
profile: "with-intel-gpu"
31+
- name: "with-intel-npu"
32+
description: "Uses NPU profile with privileged access enabled"
33+
applicationProfiles:
34+
- application: "pdd-app"
35+
profile: "with-intel-npu"

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pallet-defect-detection/pdd-values-with-intel-gpu.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
HOST_IP: # IP address of the target Edge Node, example: HOST_IP: 10.100.100.100
77
http_proxy: # example: http_proxy: http://proxy.example.com:891
88
https_proxy: # example: http_proxy: http://proxy.example.com:891
9+
S3_STORAGE_PORT: 30800 # NodePort for MinIO service
910
MINIO_ACCESS_KEY: # example: MINIO_ACCESS_KEY: intel1234
1011
MINIO_SECRET_KEY: # example: MINIO_SECRET_KEY: intel1234
1112
POSTGRES_PASSWORD: # example: POSTGRES_PASSWORD: intel1234
@@ -16,6 +17,15 @@ env:
1617
webrtcturnserver:
1718
username: # example: username: myuser
1819
password: # example: password: mypassword
20+
config:
21+
nginx:
22+
ext:
23+
http_port: 30080
24+
https_port: 30443
25+
coturn:
26+
ext:
27+
coturn_tcp_port: 30478
28+
coturn_udp_port: 30478
1929
gpu:
2030
enabled: true
2131
type: # example: type: "gpu.intel.com/i915 , gpu.intel.com/xe"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
2+
# SPDX-License-Identifier: LicenseRef-Intel
3+
---
4+
namespace: pdd
5+
env:
6+
HOST_IP: # IP address of the target Edge Node, example: HOST_IP: 10.100.100.100
7+
http_proxy: # example: http_proxy: http://proxy.example.com:891
8+
https_proxy: # example: http_proxy: http://proxy.example.com:891
9+
S3_STORAGE_PORT: 30800 # NodePort for MinIO service
10+
MINIO_ACCESS_KEY: # example: MINIO_ACCESS_KEY: intel1234
11+
MINIO_SECRET_KEY: # example: MINIO_SECRET_KEY: intel1234
12+
POSTGRES_PASSWORD: # example: POSTGRES_PASSWORD: intel1234
13+
OPCUA_SERVER_IP: # IP address of the OPCUA server
14+
OPCUA_SERVER_PORT: # example: 48010
15+
OPCUA_SERVER_USERNAME: # example: root
16+
OPCUA_SERVER_PASSWORD: # example: secret
17+
webrtcturnserver:
18+
username: # example: username: myuser
19+
password: # example: password: mypassword
20+
config:
21+
nginx:
22+
ext:
23+
http_port: 30080
24+
https_port: 30443
25+
coturn:
26+
ext:
27+
coturn_tcp_port: 30478
28+
coturn_udp_port: 30478
29+
privileged_access_required: true

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pallet-defect-detection/pdd-values.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
HOST_IP: # IP address of the target Edge Node, example: HOST_IP: 10.100.100.100
77
http_proxy: # example: http_proxy: http://proxy.example.com:891
88
https_proxy: # example: http_proxy: http://proxy.example.com:891
9+
S3_STORAGE_PORT: 30800 # NodePort for MinIO service
910
MINIO_ACCESS_KEY: # example: MINIO_ACCESS_KEY: intel1234
1011
MINIO_SECRET_KEY: # example: MINIO_SECRET_KEY: intel1234
1112
POSTGRES_PASSWORD: # example: POSTGRES_PASSWORD: intel1234
@@ -15,4 +16,13 @@ env:
1516
OPCUA_SERVER_PASSWORD: # example: secret
1617
webrtcturnserver:
1718
username: # example: username: myuser
18-
password: # example: password: mypassword
19+
password: # example: password: mypassword
20+
config:
21+
nginx:
22+
ext:
23+
http_port: 30080
24+
https_port: 30443
25+
coturn:
26+
ext:
27+
coturn_tcp_port: 30478
28+
coturn_udp_port: 30478

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pcb-anomaly-detection/application.yaml

Lines changed: 101 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@ profiles:
5454
type: string
5555
secret: true
5656
mandatory: true
57+
- name: env.S3_STORAGE_PORT
58+
displayName: "MinIO NodePort"
59+
type: number
60+
default: "30800"
61+
- name: config.nginx.ext.http_port
62+
displayName: "Nginx HTTP NodePort"
63+
type: number
64+
default: "30080"
65+
- name: config.nginx.ext.https_port
66+
displayName: "Nginx HTTPS NodePort"
67+
type: number
68+
default: "30443"
69+
- name: config.coturn.ext.coturn_tcp_port
70+
displayName: "Coturn TCP NodePort"
71+
type: number
72+
default: "30478"
73+
- name: config.coturn.ext.coturn_udp_port
74+
displayName: "Coturn UDP NodePort"
75+
type: number
76+
default: "30478"
5777
- name: "with-intel-gpu"
5878
description: "Uses Intel GPU for inferencing, needs Intel GPU extension"
5979
valuesFileName: "pcb-values-with-intel-gpu.yaml"
@@ -94,11 +114,91 @@ profiles:
94114
type: string
95115
secret: true
96116
mandatory: true
117+
- name: env.S3_STORAGE_PORT
118+
displayName: "MinIO NodePort"
119+
type: number
120+
default: "30800"
121+
- name: config.nginx.ext.http_port
122+
displayName: "Nginx HTTP NodePort"
123+
type: number
124+
default: "30080"
125+
- name: config.nginx.ext.https_port
126+
displayName: "Nginx HTTPS NodePort"
127+
type: number
128+
default: "30443"
129+
- name: config.coturn.ext.coturn_tcp_port
130+
displayName: "Coturn TCP NodePort"
131+
type: number
132+
default: "30478"
133+
- name: config.coturn.ext.coturn_udp_port
134+
displayName: "Coturn UDP NodePort"
135+
type: number
136+
default: "30478"
97137
- name: gpu.type
98138
displayName: "GPU type"
99139
type: string
100140
default: "gpu.intel.com/i915"
101141
- name: gpu.count
102142
displayName: "GPU count"
103143
type: number
104-
default: "1"
144+
default: "1"
145+
- name: "with-intel-npu"
146+
description: "Uses NPU profile with privileged access enabled"
147+
valuesFileName: "pcb-values-with-intel-npu.yaml"
148+
parameterTemplates:
149+
- name: env.HOST_IP
150+
displayName: "IP address of the target Edge Node"
151+
type: string
152+
mandatory: true
153+
- name: webrtcturnserver.username
154+
displayName: "WebRTC user"
155+
type: string
156+
mandatory: true
157+
- name: webrtcturnserver.password
158+
displayName: "WebRTC password"
159+
type: string
160+
secret: true
161+
mandatory: true
162+
- name: env.http_proxy
163+
displayName: "Http proxy"
164+
type: string
165+
default: ""
166+
- name: env.https_proxy
167+
displayName: "Https proxy"
168+
type: string
169+
default: ""
170+
- name: env.MINIO_ACCESS_KEY
171+
displayName: "Minio access key"
172+
type: string
173+
secret: true
174+
mandatory: true
175+
- name: env.MINIO_SECRET_KEY
176+
displayName: "Minio secret key"
177+
type: string
178+
secret: true
179+
mandatory: true
180+
- name: env.POSTGRES_PASSWORD
181+
displayName: "Postgres database password"
182+
type: string
183+
secret: true
184+
mandatory: true
185+
- name: env.S3_STORAGE_PORT
186+
displayName: "MinIO NodePort"
187+
type: number
188+
default: "30800"
189+
- name: config.nginx.ext.http_port
190+
displayName: "Nginx HTTP NodePort"
191+
type: number
192+
default: "30080"
193+
- name: config.nginx.ext.https_port
194+
displayName: "Nginx HTTPS NodePort"
195+
type: number
196+
default: "30443"
197+
- name: config.coturn.ext.coturn_tcp_port
198+
displayName: "Coturn TCP NodePort"
199+
type: number
200+
default: "30478"
201+
- name: config.coturn.ext.coturn_udp_port
202+
displayName: "Coturn UDP NodePort"
203+
type: number
204+
default: "30478"

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pcb-anomaly-detection/deployment-package.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ deploymentProfiles:
2727
description: "Uses Intel GPU for inferencing, needs Intel GPU extension"
2828
applicationProfiles:
2929
- application: "pcb-app"
30-
profile: "with-intel-gpu"
30+
profile: "with-intel-gpu"
31+
- name: "with-intel-npu"
32+
description: "Uses NPU profile with privileged access enabled"
33+
applicationProfiles:
34+
- application: "pcb-app"
35+
profile: "with-intel-npu"

manufacturing-ai-suite/industrial-edge-insights-vision/deployment-package/pcb-anomaly-detection/pcb-values-with-intel-gpu.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
HOST_IP: # IP address of the target Edge Node, example: HOST_IP: 10.100.100.100
77
http_proxy: # example: http_proxy: http://proxy.example.com:891
88
https_proxy: # example: http_proxy: http://proxy.example.com:891
9+
S3_STORAGE_PORT: 30800 # NodePort for MinIO service
910
MINIO_ACCESS_KEY: # example: MINIO_ACCESS_KEY: intel1234
1011
MINIO_SECRET_KEY: # example: MINIO_SECRET_KEY: intel1234
1112
POSTGRES_PASSWORD: # example: POSTGRES_PASSWORD: intel1234
@@ -16,6 +17,15 @@ env:
1617
webrtcturnserver:
1718
username: # example: username: myuser
1819
password: # example: password: mypassword
20+
config:
21+
nginx:
22+
ext:
23+
http_port: 30080
24+
https_port: 30443
25+
coturn:
26+
ext:
27+
coturn_tcp_port: 30478
28+
coturn_udp_port: 30478
1929
gpu:
2030
enabled: true
2131
type: # example: type: "gpu.intel.com/i915, gpu.intel.com/xe"

0 commit comments

Comments
 (0)