initial commit
Some checks failed
CI Pipeline / Build and Test (push) Successful in 4s
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Failing after 7s
Security Scanning / Gitleaks — Secret Scan (push) Failing after 7s
Security Scanning / Security Summary (push) Failing after 3s
Build and Publish TechDocs / build-and-publish (push) Successful in 1m2s
Some checks failed
CI Pipeline / Build and Test (push) Successful in 4s
Security Scanning / Trivy — Filesystem & Dependency Scan (push) Failing after 7s
Security Scanning / Gitleaks — Secret Scan (push) Failing after 7s
Security Scanning / Security Summary (push) Failing after 3s
Build and Publish TechDocs / build-and-publish (push) Successful in 1m2s
Change-Id: I8e318861a258686ddc53dda08858f74c573a6520
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
---
|
||||
# Source: opentelemetry-demo/charts/jaeger/templates/jaeger-deploy.yaml
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: jaeger
|
||||
labels:
|
||||
helm.sh/chart: jaeger-4.3.0
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/version: "2.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/component: all-in-one
|
||||
prometheus.io/port: "8888"
|
||||
prometheus.io/scrape: "true"
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/component: all-in-one
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/component: all-in-one
|
||||
annotations:
|
||||
prometheus.io/port: "8888"
|
||||
prometheus.io/scrape: "true"
|
||||
spec:
|
||||
|
||||
containers:
|
||||
- env:
|
||||
- name: MEMORY_MAX_TRACES
|
||||
value: "25000"
|
||||
- name: PROMETHEUS_ADDR
|
||||
value: prometheus:9090
|
||||
- name: OTEL_COLLECTOR_HOST
|
||||
value: otel-collector
|
||||
- name: OTEL_COLLECTOR_PORT_HTTP
|
||||
value: "4318"
|
||||
- name: JAEGER_HOST
|
||||
value: 0.0.0.0
|
||||
- name: JAEGER_GRPC_PORT
|
||||
value: "4317"
|
||||
- name: SPAN_STORAGE_TYPE
|
||||
value: memory
|
||||
|
||||
- name: COLLECTOR_ZIPKIN_HOST_PORT
|
||||
value: :9411
|
||||
- name: JAEGER_DISABLED
|
||||
value: "false"
|
||||
- name: COLLECTOR_OTLP_ENABLED
|
||||
value: "true"
|
||||
securityContext:
|
||||
{}
|
||||
image: jaegertracing/jaeger:2.14.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: jaeger
|
||||
args:
|
||||
- "--config"
|
||||
- "/etc/jaeger/user-config.yaml"
|
||||
ports:
|
||||
- containerPort: 5775
|
||||
protocol: UDP
|
||||
- containerPort: 6831
|
||||
protocol: UDP
|
||||
- containerPort: 6832
|
||||
protocol: UDP
|
||||
- containerPort: 5778
|
||||
protocol: TCP
|
||||
- containerPort: 16686
|
||||
protocol: TCP
|
||||
- containerPort: 16685
|
||||
protocol: TCP
|
||||
- containerPort: 9411
|
||||
protocol: TCP
|
||||
- containerPort: 4317
|
||||
protocol: TCP
|
||||
- containerPort: 4318
|
||||
protocol: TCP
|
||||
- containerPort: 13133
|
||||
protocol: TCP
|
||||
- containerPort: 8888
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
failureThreshold: 5
|
||||
httpGet:
|
||||
path: /status
|
||||
port: 13133
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 15
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /status
|
||||
port: 13133
|
||||
scheme: HTTP
|
||||
initialDelaySeconds: 1
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
resources:
|
||||
limits:
|
||||
memory: 600Mi
|
||||
volumeMounts:
|
||||
- name: user-config
|
||||
mountPath: /etc/jaeger
|
||||
securityContext:
|
||||
fsGroup: 10001
|
||||
runAsGroup: 10001
|
||||
runAsUser: 10001
|
||||
serviceAccountName: jaeger
|
||||
volumes:
|
||||
- name: user-config
|
||||
configMap:
|
||||
name: user-config
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
# Source: opentelemetry-demo/charts/jaeger/templates/jaeger-sa.yaml
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: jaeger
|
||||
labels:
|
||||
helm.sh/chart: jaeger-4.3.0
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/version: "2.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/component: all-in-one
|
||||
automountServiceAccountToken: true
|
||||
@@ -0,0 +1,67 @@
|
||||
---
|
||||
# Source: opentelemetry-demo/charts/jaeger/templates/service.yaml
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: jaeger
|
||||
labels:
|
||||
helm.sh/chart: jaeger-4.3.0
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/version: "2.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/component: all-in-one
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
# Agent Ports
|
||||
- name: zk-compact-trft
|
||||
port: 5775
|
||||
protocol: UDP
|
||||
targetPort: 5775
|
||||
- name: config-rest
|
||||
port: 5778
|
||||
targetPort: 5778
|
||||
- name: jg-compact-trft
|
||||
port: 6831
|
||||
protocol: UDP
|
||||
targetPort: 6831
|
||||
- name: jg-binary-trft
|
||||
port: 6832
|
||||
protocol: UDP
|
||||
targetPort: 6832
|
||||
# Collector Ports
|
||||
- name: http-zipkin
|
||||
port: 9411
|
||||
targetPort: 9411
|
||||
appProtocol: http
|
||||
- name: grpc-http
|
||||
port: 14250
|
||||
targetPort: 14250
|
||||
appProtocol: grpc
|
||||
- name: c-tchan-trft
|
||||
port: 14267
|
||||
targetPort: 14267
|
||||
- name: http-c-binary-trft
|
||||
port: 14268
|
||||
targetPort: 14268
|
||||
appProtocol: http
|
||||
- name: otlp-grpc
|
||||
port: 4317
|
||||
targetPort: 4317
|
||||
appProtocol: grpc
|
||||
- name: otlp-http
|
||||
port: 4318
|
||||
targetPort: 4318
|
||||
appProtocol: http
|
||||
# Query Ports
|
||||
- name: http-query
|
||||
port: 16686
|
||||
targetPort: 16686
|
||||
- name: grpc-query
|
||||
port: 16685
|
||||
targetPort: 16685
|
||||
selector:
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/component: all-in-one
|
||||
@@ -0,0 +1,73 @@
|
||||
---
|
||||
# Source: opentelemetry-demo/charts/jaeger/templates/user-config.yaml
|
||||
# Generates a config map from a file provided by user via `--set-file userconfig=`
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: user-config
|
||||
namespace: default
|
||||
labels:
|
||||
helm.sh/chart: jaeger-4.3.0
|
||||
app.kubernetes.io/name: jaeger
|
||||
app.kubernetes.io/instance: example
|
||||
app.kubernetes.io/version: "2.14.1"
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
data:
|
||||
user-config.yaml: |
|
||||
service:
|
||||
extensions: [jaeger_storage, jaeger_query, healthcheckv2]
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [batch]
|
||||
exporters: [jaeger_storage_exporter]
|
||||
telemetry:
|
||||
resource:
|
||||
service.name: jaeger
|
||||
metrics:
|
||||
level: detailed
|
||||
readers:
|
||||
- periodic:
|
||||
interval: 10000
|
||||
timeout: 5000
|
||||
exporter:
|
||||
otlp:
|
||||
protocol: http/protobuf
|
||||
endpoint: http://${env:OTEL_COLLECTOR_HOST}:${env:OTEL_COLLECTOR_PORT_HTTP}
|
||||
insecure: true
|
||||
logs:
|
||||
level: info
|
||||
extensions:
|
||||
healthcheckv2:
|
||||
use_v2: true
|
||||
http:
|
||||
endpoint: 0.0.0.0:13133
|
||||
jaeger_query:
|
||||
storage:
|
||||
traces: memory_backend
|
||||
metrics: metrics_backend
|
||||
base_path: /jaeger/ui
|
||||
jaeger_storage:
|
||||
backends:
|
||||
memory_backend:
|
||||
memory:
|
||||
max_traces: ${env:MEMORY_MAX_TRACES}
|
||||
metric_backends:
|
||||
metrics_backend:
|
||||
prometheus:
|
||||
endpoint: "http://${env:PROMETHEUS_ADDR}"
|
||||
normalize_calls: true
|
||||
normalize_duration: true
|
||||
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: ${env:JAEGER_HOST}:${env:JAEGER_GRPC_PORT}
|
||||
|
||||
processors:
|
||||
batch:
|
||||
|
||||
exporters:
|
||||
jaeger_storage_exporter:
|
||||
trace_storage: memory_backend
|
||||
Reference in New Issue
Block a user