hertz101/templates/jaeger-deployment.yaml
suyiiyii 30ae9a178d
feat: 添加 Jaeger 部署和服务配置
- 新增 Jaeger 部署配置文件,使用 jaegertracing/all-in-one:latest 镜像
- 添加 Jaeger 服务配置文件,暴露 16686、4317 和 4318 端口
2025-01-22 11:46:30 +08:00

28 lines
547 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: jaeger
name: jaeger
spec:
replicas: 1
selector:
matchLabels:
app: jaeger
template:
metadata:
labels:
app: jaeger
spec:
containers:
- image: jaegertracing/all-in-one:latest
name: jaeger
ports:
- containerPort: 16686
protocol: TCP
- containerPort: 4317
protocol: TCP
- containerPort: 4318
protocol: TCP
restartPolicy: Always