1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- ---
- # Source: opentelemetry-collector/templates/statefulset.yaml
- apiVersion: apps/v1
- kind: StatefulSet
- 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:
- serviceName: example-opentelemetry-collector
- podManagementPolicy: Parallel
- replicas: 2
- selector:
- matchLabels:
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- component: statefulset-collector
- updateStrategy:
- type: RollingUpdate
- template:
- metadata:
- annotations:
- checksum/config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
-
- labels:
- app.kubernetes.io/name: opentelemetry-collector
- app.kubernetes.io/instance: example
- component: statefulset-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: 100m
- memory: 200M
- volumeMounts:
- - mountPath: /conf
- name: opentelemetry-collector-configmap
- volumes:
- - name: opentelemetry-collector-configmap
- configMap:
- name: example-opentelemetry-collector-statefulset
- items:
- - key: relay
- path: relay.yaml
- hostNetwork: false
|