service.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. # Source: opentelemetry-collector/templates/service.yaml
  3. apiVersion: v1
  4. kind: Service
  5. metadata:
  6. name: example-opentelemetry-collector
  7. namespace: default
  8. labels:
  9. helm.sh/chart: opentelemetry-collector-0.92.0
  10. app.kubernetes.io/name: opentelemetry-collector
  11. app.kubernetes.io/instance: example
  12. app.kubernetes.io/version: "0.101.0"
  13. app.kubernetes.io/managed-by: Helm
  14. component: standalone-collector
  15. spec:
  16. type: ClusterIP
  17. ports:
  18. - name: jaeger-compact
  19. port: 6831
  20. targetPort: 6831
  21. protocol: UDP
  22. - name: jaeger-grpc
  23. port: 14250
  24. targetPort: 14250
  25. protocol: TCP
  26. - name: jaeger-thrift
  27. port: 14268
  28. targetPort: 14268
  29. protocol: TCP
  30. - name: otlp
  31. port: 4317
  32. targetPort: 4317
  33. protocol: TCP
  34. appProtocol: grpc
  35. - name: otlp-http
  36. port: 4318
  37. targetPort: 4318
  38. protocol: TCP
  39. - name: zipkin
  40. port: 9411
  41. targetPort: 9411
  42. protocol: TCP
  43. selector:
  44. app.kubernetes.io/name: opentelemetry-collector
  45. app.kubernetes.io/instance: example
  46. component: standalone-collector
  47. internalTrafficPolicy: Cluster