Commit 6b695d0c authored by threedytech's avatar threedytech
Browse files

release: 3.2

parent 974ba2d8
......@@ -13,7 +13,7 @@ Read First
latest orchestration tools are not supported with this method. We recommend
Kubernetes for production systems.
* **Services**: Currently only the SharedSession, SessionStore, Measurement and Query services are enabled. This means a range of functionalities will not be available in webvis and other API-libraries.
* **Services**: Currently only the SharedSession, SpaceStore, Measurement and Query services are enabled. This means a range of functionalities will not be available in webvis and other API-libraries.
* **Security/Signatues**: The third main version instant3Dhub is designed to include security on all layers of the system like controlling the access to the management APIs, resource APIs, the services or the data that goes through the system. It is not yet possible to configure custom keys.
* **Volumes** : Currently our Docker-Compose deploy uses local volumes.
......
......@@ -11,7 +11,7 @@ Here is a non-extensive list of functionalities:
* **External DB use**: The system can optionally work with a previously provisioned PostgreSQL instance. This instance must be set up manually via Ansible.
* **HTTPS**: HTTPS is not supported inside the cluster or at the gateway. Currently HTTPS can be used by adding a proxy outside of the cluster or as a sidecar on the apigw component.
* **Services**: Currently only the SharedSession, SessionStore, Measurement and Query services are enabled. This means a range of functionalities will not be available in webvis and other API-libraries.
* **Services**: Currently only the SharedSession, SpaceStore, Measurement and Query services are enabled. This means a range of functionalities will not be available in webvis and other API-libraries.
* **Security/Signatues**: The third main version instant3Dhub is designed to include security on all layers of the system like controlling the access to the management APIs, resource APIs, the services or the data that goes through the system. It is not yet possible to configure custom keys.
......
......@@ -89,54 +89,9 @@ rabbitmq_volume 1GB Event / Transaction da
Compute
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Names of services and concepts reference terms from Helm/Kubernetes.
We do not recommend using docker-compose in environments where strict resource management and deploy level stability is required.
As stated before the following figures should not be used as request or limits without further consideration.
When it comes to compute requirements we can generally speak of 3 categories.
First we have third party services like PostgreSQL or the ELK stack.
=================== =========== =========== =========== ===========
Name RAM-Request RAM-Limit CPU-Request CPU-Limit
------------------- ----------- ----------- ----------- -----------
Consul 50MB 100MB 0,05 0,3
Elastic 1500M 2000MB 1,00 2,0
Kibana 400MB 600MB 0,5 1,00
PostgreSQL 1500MB 3000MB 1,0 2,0
Jaeger-collector 40MB 40MB 0,05 0,05
Jaeger-query 30MB 30MB 0,05 0,05
Rabbitmq 600MB 1000MB 0,5 1,0
=================== =========== =========== =========== ===========
Second are our microservices for infrastructure tasks.
These are small lightweight executables.
=================== =========== =========== =========== ===========
Name RAM-Request RAM-Limit CPU-Request CPU-Limit
------------------- ----------- ----------- ----------- -----------
Adminsvc 50MB 50MB 0,05 0,05
Entrygw 50MB 50MB 0,05 0,05
Apigw 50MB 50MB 0,05 0,05
Measurementgw 50MB 50MB 0,05 0,05
Transcodergw 80MB 120MB 0,5 0,75
Querygw 50MB 50MB 0,05 0,05
Resourcegw 200MB 400MB 0,25 0,5
Sessionstoregw 50MB 50MB 0,05 0,05
Sharedsessiongw 50MB 50MB 0,05 0,05
=================== =========== =========== =========== ===========
Third are our worker services.
Depending on the input data these services might require an elevated amount of compute resources.
=================== =========== =========== =========== ===========
Name RAM-Request RAM-Limit CPU-Request CPU-Limit
------------------- ----------- ----------- ----------- -----------
Transcodersvc 4000MB 16000MB 1,0 4,0
Measurementsvc 1500M 2000MB 1,0 2,0
Querysvc 400MB 600MB 0,5 1,0
Deliverysvc 400MB 600MB 0,5 1,0
=================== =========== =========== =========== ===========
The containers have requests and limits defined in the Helm Chart.
In the current version they are disabled by default and can be enabled by setting "resourceLimits.ignore: false" in the values.yaml file.
Database
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......@@ -155,6 +110,4 @@ Following the NVIDIA guide will allow an easy installation of a variety of GPUs.
Please check if the GPU of your choice is in the supported GPUs list.
It is our experience however that other reasonable recent consumer GPUs also work even if not listed.
We support GPUs with compose aswell, however we do not provide a GPU install guide.
############################################
instant3Dhub 3.1.1 Integration
instant3Dhub 3.2 Integration
############################################
This is the deployment repository for instant3Dhub. For more information about the product visit `www.threedy.io <https://www.threedy.io>`_.
......@@ -11,8 +11,8 @@ Installation Variants
instant3Dhub is deployed on top of a container orchestration layer. The primary target is the Kubernetes platform, which is also highly recommended for productive environments.
There is also a way to install instant3Dhub with docker-compose, which can be used for development environments or evaluation.
* `Kubernetes <./INSTALL_K8S.rst>`_ (recommended)
* `Docker-Compose <./INSTALL_COMPOSE.rst>`_ (reduced functionality)
* `Kubernetes <./INSTALL_K8S.rst>`_
* `Docker-Compose <./INSTALL_COMPOSE.rst>`_ (Docker-Compose is not officially supported anymore. Documentation and scripts are only for reference.)
.. toctree::
:hidden:
......
......@@ -9,7 +9,7 @@ volumes:
services:
i3dhub-consul:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-consul:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-consul:c0552c477c6750053ab1152a6780f4e2
environment:
CONSUL_PORT: "8500"
CONSUL_CONTENT_PATH: /consul/ui/
......@@ -25,7 +25,7 @@ services:
restart: unless-stopped
i3dhub-apigw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-apigw:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-apigw:c0552c477c6750053ab1152a6780f4e2
ports:
- "${HUB_NODE_PORT}:8080"
env_file:
......@@ -35,7 +35,7 @@ services:
restart: unless-stopped
i3dhub-adminsvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-adminsvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-adminsvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- rabbitmq_volume:/var/lib/rabbitmq
- elastic_volume:/usr/share/elasticsearch/data
......@@ -50,7 +50,7 @@ services:
restart: unless-stopped
i3dhub-keystore:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-keystore:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-keystore:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env.elastic
- .env
......@@ -60,7 +60,7 @@ services:
restart: unless-stopped
i3dhub-authsvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-authsvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-authsvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- cache_volume:/var/cache/instant3Dhub/
env_file:
......@@ -71,7 +71,7 @@ services:
restart: unless-stopped
i3dhub-jaeger-collector:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-jaeger-collector:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-jaeger-collector:c0552c477c6750053ab1152a6780f4e2
environment:
SPAN_STORAGE_TYPE: "elasticsearch"
ENABLE_TRACING: "true"
......@@ -83,7 +83,7 @@ services:
restart: unless-stopped
i3dhub-jaeger-query:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-jaeger-query:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-jaeger-query:c0552c477c6750053ab1152a6780f4e2
environment:
SPAN_STORAGE_TYPE: "elasticsearch"
QUERY_BASE_PATH: /jaeger
......@@ -95,7 +95,7 @@ services:
restart: unless-stopped
i3dhub-rabbitmq:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-rabbitmq:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-rabbitmq:c0552c477c6750053ab1152a6780f4e2
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "guest"
......@@ -118,7 +118,7 @@ services:
restart: unless-stopped
i3dhub-postgres:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-postgres:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-postgres:c0552c477c6750053ab1152a6780f4e2
environment:
POSTGRES_USER: i3dhub
POSTGRES_PASSWORD: 12and3
......@@ -137,7 +137,7 @@ services:
restart: unless-stopped
i3dhub-elastic:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-elastic:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-elastic:c0552c477c6750053ab1152a6780f4e2
environment:
- discovery.type=single-node
healthcheck:
......@@ -150,7 +150,7 @@ services:
restart: unless-stopped
i3dhub-kibana:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-kibana:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-kibana:c0552c477c6750053ab1152a6780f4e2
environment:
SERVER_BASEPATH: /kibana
env_file:
......@@ -160,7 +160,7 @@ services:
restart: unless-stopped
i3dhub-resourcegw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-resourcegw:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-resourcegw:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env.elastic
- .env
......@@ -171,7 +171,7 @@ services:
restart: unless-stopped
i3dhub-entrygw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-entrygw:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-entrygw:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env.elastic
- .env
......@@ -184,27 +184,16 @@ services:
restart: unless-stopped
i3dhub-spacesvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-spacesvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-spacesvc:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env.elastic
- .env
depends_on:
- i3dhub-elastic
restart: unless-stopped
i3dhub-transcodergw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-transcodergw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env.elastic
- .env
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-transcodersvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-transcodersvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-transcodersvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- cache_volume:/var/cache/instant3Dhub/
env_file:
......@@ -214,22 +203,10 @@ services:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-measurementgw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-measurementgw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env
- .env.elastic
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-measurementsvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-measurementsvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-measurementsvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- cache_volume:/var/cache/instant3Dhub/
env_file:
......@@ -241,19 +218,8 @@ services:
- i3dhub-elastic
restart: unless-stopped
i3dhub-deliverygw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-deliverygw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env
- .env.elastic
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-deliverysvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-deliverysvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-deliverysvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- cache_volume:/var/cache/instant3Dhub/
env_file:
......@@ -265,7 +231,7 @@ services:
restart: unless-stopped
i3dhub-sharedsessionsvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-sharedsessionsvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-sharedsessionsvc:c0552c477c6750053ab1152a6780f4e2
volumes:
- cache_volume:/var/cache/instant3Dhub/
env_file:
......@@ -277,30 +243,8 @@ services:
- i3dhub-elastic
restart: unless-stopped
i3dhub-sharedsessiongw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-sharedsessiongw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env
- .env.elastic
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-spacestoregw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-spacestoregw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env
- .env.elastic
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-spacestoresvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-spacestoresvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-spacestoresvc:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env
- .env.elastic
......@@ -309,19 +253,8 @@ services:
- i3dhub-elastic
restart: unless-stopped
i3dhub-querygw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-querygw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env
- .env.elastic
depends_on:
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-querysvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-querysvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-querysvc:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env
- .env.elastic
......@@ -331,7 +264,7 @@ services:
restart: unless-stopped
i3dhub-uploadsvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-uploadsvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-uploadsvc:c0552c477c6750053ab1152a6780f4e2
env_file:
- .env
volumes:
......
......@@ -4,19 +4,8 @@ volumes:
services:
i3dhub-visualizationgw:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-visgw:936f8a92ac20b38d17e2e24fe3d903c6
env_file:
- .env.elastic
- .env
depends_on:
- i3dhub-consul
- i3dhub-rabbitmq
- i3dhub-postgres
- i3dhub-elastic
restart: unless-stopped
i3dhub-gpuvissvc:
image: ${IMAGE_REGISTRY_HOST}/i3dhub-gpuvissvc:936f8a92ac20b38d17e2e24fe3d903c6
image: ${IMAGE_REGISTRY_HOST}/i3dhub-gpuvissvc:c0552c477c6750053ab1152a6780f4e2
runtime: nvidia
deploy:
resources:
......
......@@ -55,6 +55,8 @@
proxy_pass http://i3dhub-spacesvc$i3dhubDomain:8080/space;
}
location ~ ^/space/(.*) {
client_max_body_size 0M;
proxy_pass http://i3dhub-spacesvc$i3dhubDomain:8080/space/$1$is_args$args;
}
......
{{- $elkContext := .Values.elasticStackFeatures | default dict -}}
address: 0.0.0.0:8080
resource-gw: http://i3dhub-resourcegw:8080/resource-gateway-resource
entrygw-path: /opt/instant3Dhub/share/instant3Dhub/services/hubgw/
repo-path: /opt/instant3Dhub/share/instant3Dhub/packaged/repo/
cache-path: /var/cache/instant3Dhub/
ui-path: /opt/instant3Dhub/share/instant3Dhub/admin/ui/
automatic-expiration: false
expire-duration: 336h # 2 weeks
expire-frequency: 24h
other-volumes:
- /var/lib/rabbitmq/
- /usr/share/elasticsearch/data/
......@@ -11,12 +16,14 @@ monitoring:
- name: Consul
description: "Service registration & configuration"
path: /consul/ui
- name: Kibana
description: "Service log discovery"
path: /kibana/
- name: RabbitMQ
description: "Queue monitoring"
path: /rabbitmq/
{{- if $elkContext.enabled }}
- name: Kibana
description: "Service log discovery"
path: /kibana/
- name: JaegerQuery
description: "Tracing information"
path: /jaeger/
{{- end -}}
# where to listen for incoming requests, use a file location for a unix domain socket
# or an address with port (e.g. 127.0.0.1:6060) to use a tcp socket
listen-address: 0.0.0.0:6060
listen-address: 127.0.0.1:6060
# where the instant hub can be reached, necessary for triggering retranscodes if
# cache and source seem to differ
hub-url: http://i3dhub-resourcegw:8080
# levels: trace debug info warning error panic fatal
log-level: {{ .Values.logLevel | default "warning" }}
log-level: {{ .Values.logLevel | default "trace" }}
# whether to verify certificates of remote endpoints when performing authorization checks
# TODO: turn this off when threedy certificates are installed
......
......@@ -7,8 +7,11 @@ cluster-id: {{ .Release.Name }}_8500
# default location of cache directory, shared by services. services can override this
cache-dir: /var/cache/instant3Dhub
# data format of transcoder caches
data-format: raw
# log-level to use for the system. services can override this
log-level: {{ .Values.logLevel | default "warning" }}
log-level: {{ .Values.logLevel | default "trace" }}
# log-folder specifies where to place log-files
log-folder: /var/log/instant3Dhub
......@@ -25,9 +28,16 @@ postgres:
max-idle-conns: 10
max-conn-lifetime: 5m
# address parts of the resource gateway
resource-gateway-host: i3dhub-resourcegw
resource-gateway-port: 8080
# address of key store which contains signing keys
key-store-address: http://i3dhub-keystore:8080
# internal address of the local sidecar auth service
auth-address: http://127.0.0.1:6060
# connection string to use when connecting to rabbitmq. only used internally in the cluster
rabbit-connection-string: amqp://{{ if .Values.rabbitmq }}{{ .Values.rabbitmq.user | default "guest" }}{{ else }}guest{{ end }}:{{ if .Values.rabbitmq }}{{ .Values.rabbitmq.password | default "guest" }}{{ else }}guest{{ end }}@i3dhub-rabbitmq:5672
......@@ -48,4 +58,12 @@ custom-values:
{{- end }}{{- end -}}
{{- else }}
".*": [ Cookie ]
{{- end -}}
{{- end }}
ping:
{{- $pingInterval := .Values.pingInterval | default "20s" -}}
{{- if eq $pingInterval "0s" }}
enabled: false
{{- else }}
interval: {{ $pingInterval }}
{{- end -}}
......@@ -21,6 +21,8 @@
#
# .Params.* -- The resource request parameters themselves.
address: 0.0.0.0:8080
service:
name: DeliveryService
......
......@@ -22,27 +22,34 @@
# .Params.* -- The resource request parameters themselves.
service:
name: CappingService
name: GeometricService
bin-dir: {{"{{"}} package_dir {{"}}"}}/bin
lib-dir: {{"{{"}} package_dir {{"}}"}}/lib64
workers: 4
workers: {{ .Values.numGeometricWorkerPerPod | default 24 }}
worker-port-count: 1
worker-port-start: 8080
request-ttl: 1s
descriptor:
capping:
- state: 3 # in progress
values:
- name: endpoint
{{"{{"}} if has . "service.descriptor.endpoint.template" {{"}}"}}
value: {{"{{"}} .service.descriptor.endpoint.template {{"}}"}}
{{"{{"}} else {{"}}"}}
value: http://{{"{{"}} hostname {{"}}"}}:[[ index .RUNTIME_WORKER_PORTS 0 ]]
{{"{{"}} end {{"}}"}}
access:
target-id: i3dhub-geometricsvc
ip: {{"{{"}} hostname_ip {{"}}"}}
endpoints:
- name: geometricAPI
port: '[[ index .RUNTIME_WORKER_PORTS 0 ]]'
base-path: /geometricService/rpc
protocol: http
patterns:
- name: Capping
descriptor: capping
cmds:
- l3dCappingService --rest_port=[[ index .RUNTIME_WORKER_PORTS 0 ]] --omp_threads 2 --rest_threads 10
- >
l3dGeometricService
--rest_port=[[ index .RUNTIME_WORKER_PORTS 0 ]]
--instant-hub http://i3dhub-entrygw:8080
--hub-interface-version 3
--random-path=[[ .RESOURCE_ID ]]
--rest_threads 16
--disable-validation
--cache-gen-log-level fatal
--l3d-opt-edge-angle 36.0
--signed-uris true
# default listening address of any resource gateway
address: 0.0.0.0:8080
service-gateways:
- DeliveryService
- MeasurementService
- QueryService
- SharedSessionService
- SpaceStoreService
- TrackerService
- TranscoderService
- VisService
- GeometricService
......@@ -56,11 +56,11 @@ service:
queue-mapping:
params:
# requeue if resource is not running or created
force-queue: '[[ gt .RESOURCE.State 3 ]]'
force-queue: '[[ gt .RESOURCE.State 3000 ]]'
descriptor:
session:
- state: 3 # in progress
- state: 3000 # in progress
values:
- name: sessionId
value: '[[ .Params.sessionId ]]'
......
......@@ -22,11 +22,11 @@
# .Params.* -- The resource request parameters themselves.
service:
name: TrackingService
name: TrackerService
bin-dir: {{"{{"}} package_dir {{"}}"}}/bin
lib-dir: {{"{{"}} package_dir {{"}}"}}/lib64
workers: 4
worker-port-start: 8080
workers: {{ .Values.numGPUWorkerPerPod | default 4 }}
worker-port-start: 9090
worker-port-count: 2
request-ttl: 1s
......@@ -34,14 +34,57 @@ service:
matching:
- name: class
value: '[[ .Params.class ]]'
- name: output
value: '[[ .Params.output ]]'
access:
target-id: i3dhub-gpuvissvc
ip: {{"{{"}} hostname_ip {{"}}"}}
endpoints:
- name: trackerAPI
port: '[[ index .RUNTIME_WORKER_PORTS 0 ]]'
base-path: /trackerService/rpc
protocol: http
- name: bufferStreamAPI
port: '[[ index .RUNTIME_WORKER_PORTS 1 ]]'
base-path: /bufferws
protocol: ws
patterns:
- name: Render opengl framebuffer+idbuffer+cull
- name: trackerService slam
params:
class: opengl
output: framebuffer+idbuffer+cull
class: slam
licenses:
- Core/l3dTrack
cmds:
- >
trackingService
\ No newline at end of file
l3dTrackerService
--rest_port [[ index .RUNTIME_WORKER_PORTS 0 ]]
--rest_baseurl http://[[ hostname ]]:[[ index .RUNTIME_WORKER_PORTS 0 ]]
--ws_port [[ index .RUNTIME_WORKER_PORTS 1 ]]
--ws_baseurl ws://[[ hostname ]]:[[ index .RUNTIME_WORKER_PORTS 1 ]]
--instant-hub http://i3dhub-entrygw:8080
--default-ogl-view OpenGLTrackView
--rle-invert false
--load-topoids false
--intermediate-scale-factor -1.0
--local-render false
--disable-clipplanes true
--clear-data-after-download true
--add-with-root-alias true