Files
go-otel/k8s/deployment.yaml
T
2026-04-05 09:54:40 +02:00

46 lines
1.0 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: otel-debug-receiver
spec:
replicas: 1
selector:
matchLabels:
app: otel-debug-receiver
template:
metadata:
labels:
app: otel-debug-receiver
spec:
containers:
- name: otel-debug
image: matst80/otel-debug:latest
ports:
- containerPort: 8080
name: http
- containerPort: 4317
name: grpc
- containerPort: 4318
name: otlp-http
env:
- name: GRPC_GO_LOG_SEVERITY_LEVEL
value: "info"
livenessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 5
periodSeconds: 10
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "500m"