123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- ---
- # Source: opentelemetry-collector/templates/deployment.yaml
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: example-opentelemetry-collector
- namespace: default
- labels:
- helm.sh/chart: opentelemetry-collector-0.92.0
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- app.kubernetes.io/version: "0.101.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: a32316e7f1106e70882004e9b8bb0bcdb96606da2f45e39582ac4bfe9e47b0f8
-
- 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-k8s
- args:
- - --config=/conf/relay.yaml
- securityContext:
- {}
- image: "otel/opentelemetry-collector-k8s:0.101.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
- - name: GOMEMLIMIT
- value: "3276MiB"
- 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
|