Files
alex-1/score.yaml
Scaffolder 745d30d3c0
All checks were successful
Build and Push to ACR / Build and Push (push) Has been skipped
Build and Publish TechDocs / build-and-publish (push) Successful in 1m9s
initial commit
Change-Id: I1296dc1a3294331f7dcee8e793bc3ed2c63351a3
2026-05-11 19:25:48 +00:00

45 lines
1007 B
YAML

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