Skip to content
Discussion options

You must be logged in to vote

@ajdurr Could you try with this config?

agent:
  
  service:
    enabled: false 

  ports:
    otlp: null
    otlp-http: null
  
  config:
    receivers:
      otlp: {}
    service:
      pipelines:
        logs:
          receivers:
            - filelog

This ensures the OTLP receiver doesn’t open any listeners. Simply not exposing the ports in the container spec isn’t sufficient since the OTLP receiver was still binding on the host network.

As an extra safeguard, you can also disable host networking entirely by setting:

agent:
  hostNetwork: false

These suggestions assume you don’t need to run the OTLP receiver (for logs sent to stdout, we only need the filelog receiver). If you do, l…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ajdurr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants