12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- ---
- # Source: opentelemetry-collector/templates/deployment.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: example-opentelemetry-collector
- labels:
- helm.sh/chart: opentelemetry-collector-0.50.1
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- app.kubernetes.io/version: "0.73.0"
- app.kubernetes.io/managed-by: Helm
- spec:
- replicas: 3
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- component: standalone-collector
- strategy:
- type: RollingUpdate
- template:
- metadata:
- annotations:
- checksum/config: 890f90c78bc9bd242ae0c0cc5b221debac13157285dca7c52fa1e09ce77b1101
-
- labels:
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- component: standalone-collector
-
- spec:
-
- serviceAccountName: example-opentelemetry-collector
- securityContext:
- {}
- containers:
- - name: opentelemetry-collector
- command:
- - /otelcol-contrib
- - --config=/conf/relay.yaml
- securityContext:
- {}
- image: "otel/opentelemetry-collector-contrib:0.73.0"
- imagePullPolicy: IfNotPresent
- ports:
- - name: jaeger-compact
- containerPort: 6831
- protocol: UDP
- - name: jaeger-grpc
- containerPort: 14250
- protocol: TCP
- - name: jaeger-thrift
- containerPort: 14268
- protocol: TCP
- - name: otlp
- containerPort: 4317
- protocol: TCP
- - name: otlp-http
- containerPort: 4318
- protocol: TCP
- - name: zipkin
- containerPort: 9411
- protocol: TCP
- env:
- - name: MY_POD_IP
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: status.podIP
- livenessProbe:
- httpGet:
- path: /
- port: 13133
- readinessProbe:
- httpGet:
- path: /
- port: 13133
- resources:
- limits:
- cpu: 2
- memory: 4Gi
- volumeMounts:
- - mountPath: /conf
- name: opentelemetry-collector-configmap
- volumes:
- - name: opentelemetry-collector-configmap
- configMap:
- name: example-opentelemetry-collector
- items:
- - key: relay
- path: relay.yaml
- hostNetwork: false
|