Files
sonar-test-nest4/score.yaml
Scaffolder 4a0f4cb7d2
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m28s
initial commit
Change-Id: Ic85508eb87544e6637b1c2a41c15abc40aa35e0c
2026-05-11 14:47:59 +00:00

45 lines
1.0 KiB
YAML

apiVersion: score.dev/v1b1
metadata:
name: sonar-test-nest4
annotations:
instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation
prometheus.io/scrape: 'true'
prometheus.io/port: '80'
prometheus.io/path: /metrics
containers:
app:
image: .
variables:
OTEL_SERVICE_NAME: sonar-test-nest4
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
OTEL_RESOURCE_ATTRIBUTES: app=sonar-test-nest4
OTEL_METRICS_EXPORTER: otlp
OTEL_TRACES_EXPORTER: otlp
OTEL_LOGS_EXPORTER: none
livenessProbe:
httpGet:
path: /health
port: 3000
readinessProbe:
httpGet:
path: /health
port: 3000
resources:
limits:
memory: 128Mi
cpu: 200m
requests:
memory: 32Mi
cpu: 25m
service:
ports:
http:
port: 80
targetPort: 3000
resources:
env:
type: environment
dns:
type: dns