initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m14s
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Failing after 1m14s
Change-Id: Ia7bbd259893786bfd9076bffb8c9e973288defde
This commit is contained in:
44
score.yaml
Normal file
44
score.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: score.dev/v1b1
|
||||
metadata:
|
||||
name: test-ms-c6
|
||||
annotations:
|
||||
instrumentation.opentelemetry.io/inject-java: monitoring/otel-instrumentation
|
||||
prometheus.io/scrape: 'true'
|
||||
prometheus.io/port: '80'
|
||||
prometheus.io/path: /actuator/prometheus
|
||||
containers:
|
||||
app:
|
||||
image: .
|
||||
variables:
|
||||
OTEL_SERVICE_NAME: test-ms-c6
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://otel-collector.monitoring.svc.cluster.local:4318
|
||||
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
||||
OTEL_RESOURCE_ATTRIBUTES: app=test-ms-c6
|
||||
OTEL_METRICS_EXPORTER: otlp
|
||||
OTEL_TRACES_EXPORTER: otlp
|
||||
OTEL_LOGS_EXPORTER: none
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/liveness
|
||||
port: 8080
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health/readiness
|
||||
port: 8080
|
||||
resources:
|
||||
limits:
|
||||
memory: 128Mi
|
||||
cpu: 200m
|
||||
requests:
|
||||
memory: 32Mi
|
||||
cpu: 25m
|
||||
service:
|
||||
ports:
|
||||
http:
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
resources:
|
||||
env:
|
||||
type: environment
|
||||
dns:
|
||||
type: dns
|
||||
Reference in New Issue
Block a user