Created
May 28, 2024 08:45
-
-
Save niklaskeerl/5a91166f4a82040bc448dcb1703656df to your computer and use it in GitHub Desktop.
Kubernetes manifests for deploying jaeger all-in-one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kubernetes Namespace, Deployment and service for deploying in-memory jaeger for temporary use with e.g. odigos. | |
# odigos jaeger endpoint: jaeger.tracing:9411 | |
# Port-forward jaeger UI: kubectl port-forward -n tracing <pod-name> 16686:16686 | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: tracing | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: jaeger | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: jaeger | |
template: | |
metadata: | |
labels: | |
app: jaeger | |
spec: | |
containers: | |
- name: jaeger | |
image: jaegertracing/all-in-one:1.6 | |
ports: | |
- containerPort: 5775 | |
protocol: UDP | |
- containerPort: 6831 | |
protocol: UDP | |
- containerPort: 6832 | |
protocol: UDP | |
- containerPort: 5778 | |
- containerPort: 16686 | |
- containerPort: 14268 | |
- containerPort: 9411 | |
env: | |
- name: COLLECTOR_ZIPKIN_HTTP_PORT | |
value: "9411" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: jaeger | |
spec: | |
selector: | |
app: jaeger | |
ports: | |
- name: zipkin-http | |
protocol: TCP | |
port: 9411 | |
targetPort: 9411 | |
- name: udp-5775 | |
protocol: UDP | |
port: 5775 | |
targetPort: 5775 | |
- name: udp-6831 | |
protocol: UDP | |
port: 6831 | |
targetPort: 6831 | |
- name: udp-6832 | |
protocol: UDP | |
port: 6832 | |
targetPort: 6832 | |
- name: tcp-5778 | |
protocol: TCP | |
port: 5778 | |
targetPort: 5778 | |
- name: frontend | |
protocol: TCP | |
port: 16686 | |
targetPort: 16686 | |
- name: tcp-14268 | |
protocol: TCP | |
port: 14268 | |
targetPort: 14268 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment