DSUS Container
Summary
Principal workload container for DSUS.
Attributes
Type
Primary
Name
data-support-update-service
Image
data-support-update-service
Image Pull Policy
Always
Command
Arguments
Port
8080
Security Context
Allow Privilege Escalation:
false
Endpoints
External-to-Cluster
This container does not have any external-to-cluster exposed endpoints.
Internal
Liveness Probe
GET /__probes/liveness
Refer to the Kubernetes Documentation for more information on probes.
Readiness Probe
GET /__probes/readiness
Refer to the Kubernetes Documentation for more information on probes.
Environment Variables
All environment variables, unless otherwise indicated, are considered required.
General Variables
NODE_OPTIONS
Applies override flags to the Node runtime.
Accepted Values
defaultAs this container deals with very large data objects, it is recommended to set a value of
--max-old-space-size=1536, which increases the default heap size of the Node runtime to accommodate larger garbage collection activities. Ideally, the numerical value (e.g.1536) would be set to 80% of the RAM resource limit for this container.
PORT
Controls which port the embedded web server is bound to.
Accepted Values
8080defaultAny numerical value. Should match the value of Port parameter in Attributes.
Document Database Connectivity
DOCUMENT_STORE_CONNECTION_URI Secret
Defines the URI by which to connect to the Document Store database.
As this includes the username and password, it should be mapped appropriately.
Accepted Values
localhost:27017/rckmsdefaultAny valid MongoDB connection URI string, without protocol prefix (e.g. do not include
mongodb://in the value)
Knowledge Module Storage Bucket Connectivity
CLOUD_STORAGE_BUCKET_NAME
Defines the bucket name/connection URI for the target Knowledge Module storage bucket resource.
Accepted Values
A valid platform connection URI or bucket name per SDK guidance. For Google Cloud Storage buckets, omit the
gs://prefix, and leverage GKE Workload Identity for permitting read and write operations. For AWS S3 buckets, ensure that anAWS_PROFILEor Pod service account workload identity is configured properly for read and write operations.
Intra-mesh Connectivity
SERVICE_MESH_RGS_ENDPOINT
Define the Kubernetes Service endpoint for RGS interactions.
Accepted Values
Any valid URL, including protocol, hostname, port (optionally inferred by protocol), and path set to
/generate. For example,http://rgs.prd.svc.cluster.local:80/generatewould be considered an acceptable value for a service resource namedrgs, in theprdnamespace, with a service port of80and the proper path value of/generate.
MTS_RS_CDS
Define the Kubernetes Service endpoint for MTS "CDS" classified interactions.
Accepted Values
Any valid URL, including protocol, hostname, port (optionally inferred by protocol), and path. For example,
http://rgs.prd.svc.cluster.local:80/mts-rs-cdswould be considered an acceptable value for a service resource namedmts, in theprdnamespace, with a service port of80and a path value ofmts-rs-cds.
MTS_RS_CORE
Define the Kubernetes Service endpoint for MTS "Core" classified interactions.
Accepted Values
Any valid URL, including protocol, hostname, port (optionally inferred by protocol), and path. For example,
http://mts.prd.svc.cluster.local:80/mts-rs-corewould be considered an acceptable value for a service resource namedmts, in theprdnamespace, with a service port of80and a path value ofmts-rs-core.
MTS_RS_RCKMS
Define the Kubernetes Service endpoint for MTS "RCKMS" classified interactions.
Accepted Values
Any valid URL, including protocol, hostname, port (optionally inferred by protocol), and path. For example,
http://rgs.prd.svc.cluster.local:80/mts-rs-rckmswould be considered an acceptable value for a service resource namedmts, in theprdnamespace, with a service port of80and a path value ofmts-rs-rckms.
Logging Level Configuration
LOGGING_LEVEL Optional
This container is configured with Pino logging library, which gives engineers and operators more granular control over logging output in Node applications.
Accepted Values
debugVerbose logging. Useful for triaging.infodefault Standard logging output.warnOutputs log events classified aswarningsor higher.errorOutputs log events classified aserrorsor higher.fatalOnly fatal, typically uncaught exceptions will be logged.silentDisables all logging output.traceExtremely verbose logging.
Sentry Configuration
Probes
Liveness
Describe the probe.
Mode
HTTP (GET)
Arguments
Path:
/__/probes/livenessPort:
8080(must match container port)
Timings
Initial Delay of
30sPeriod of
20sTimeout of
30s
Thresholds
1Successes3Failures
Readiness
Describe the probe.
Mode
HTTP (GET)
Arguments
Path:
/__/probes/readinessPort:
8080(must match container port)
Timings
Initial Delay of
15sPeriod of
15sTimeout of
30s
Thresholds
1Successes3Failures
Startup
Container does not utilize a startup probe.
Resources
500
1536
N/A
1000
2048
N/A
Technology Stack
A Node 14 container that hosts an Express web server for resolving HTTP routes.
Volume Mounts
This container does not mount any volumes.
Workload Identity
This container requires a Pod Service Account with the following role(s):
Google Cloud Storage / AWS S3 Bucket Maintainer
Google Cloud Storage / AWS S3 Bucket Object Creator
Google Cloud Storage / AWS S3 Bucket Object Editor
MongoDB Client / AWS
DocumentDBClient
Code Owners
Last updated