-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.1.0, nuxeo-11.0.0
-
Component/s: CI/CD, Nuxeo Connector
-
Epic Link:
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.22, nxplatform 11.1.23
-
Story Points:2
Context
We want to use Docker images provided by ARondor.
The available images are stored in their artifactory and has following names:
- arender-hmi
- arender-rendition-broker
- arender-jni-engine
- arender-pdfbox
- arender-converter
- arender-dfs
The images share the same versioning than ARender, so: 4.0.5.NX1.1, 4.0.5.NX2.0...
Tasks
Previewer
Previewer images will contain our version of ARender (suffixed by NX something). The image has as based tomcat:9.0-jre8-alpine. The receipt is:
- put our connector and its dependencies under /usr/local/tomcat/webapps/ROOT/WEB-INF/lib/
- put our default configuration file under /usr/local/tomcat/webapps/ROOT/WEB-INF/classes
We need to split the code/arender-previewer module in order to extract our connector and the war packaging stuff.
Rendition
Rendition images should be used directly without any customization from ours.
The customization we currently have for task conversion (see there) could be done on ARender side or with an environment variable set on arender-converter container.
Deployment
Goal is to have the helm chart for preview working in our Jenkins X. This will also describe how to deploy the whole stack with another technology.
Known things to change:
- provide a deployment for each rendition micro services
- adapt the readyness and liveness probe path
- use of ARENDER_ and ARENDERSRV_ for both arender.properties and arender-server.properties
Additional information
Docker Specifications
- arender-hmi
FROM tomcat:9.0-jre8-alpine
PORT 80
VOLUME /tmp
readiness: /weather
liveness: /weather - arender-rendition-broker
FROM openjdk:12-jdk-alpine
PORT 8761
log /arender-server.log
readiness: /weather
liveness: /actuator/health - arender-converter
FROM ubuntu:18.10
PORT 19999
log /modules/dfs-service/arender-taskconversion.log
readiness: /health/record
liveness: /actuator/health - arender-pdfbox
FROM openjdk:12-jdk-alpine
PORT 8899
log /modules/dfs-service/arender-pdfbox.log
readiness: /health/record
liveness: /actuator/health - arender-jni-engine
FROM openjdk:11-jdk-slim-stretch
PORT 9091
log /modules/dfs-service/arender-jnipdf.log
readiness: /health/record
liveness: /actuator/health - arender-dfs
FROM openjdk:12-jdk-alpine
PORT 8081
log /modules/dfs-service/arender-dfsclient.log
readiness: /health/record
liveness: /actuator/health
Hardware requirements
- arender-hmi
2vCPU
2Go RAM - arender-rendition-broker
1vCPU
1Go RAM - arender-converter
1vCPU
2Go RAM - arender-jni-engine
2vCPU
2Go RAM - arender-pdfbox
1vCPU
1Go RAM - arender-dfs
1vCPU
512Mo RAM
- depends on
-
NEV-180 Fix ARenderAnnotations directory creation in previewer
- Resolved
-
NXBT-3078 Add a docker proxy registry on packages for ARender
- Resolved
- is related to
-
NEV-224 Update ARender deployment configuration after benchmark results
- Resolved
-
NEV-225 Helm doesn't mount correct tmp directory
- Resolved
-
NEV-232 Update probe path
- Resolved
- Is referenced in