Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When deploying in K8s, release the connection limit #10168

Open
chenzhiguo opened this issue May 16, 2024 · 0 comments
Open

When deploying in K8s, release the connection limit #10168

chenzhiguo opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chenzhiguo
Copy link

Describe the bug
I tried to deploy the relevant components of otel in my k8s cluster using examples/k8s/otel-config.yaml, but I realized that the default IP for service startup is bound to its own POD. I think the configurations in these two ConfigMaps: otel-collector-conf and otel-agent-conf are as follows:

data:
  otel-agent-config: |
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: ${env:MY_POD_IP}:4317
          http:
            endpoint: ${env:MY_POD_IP}:4318

Is it more appropriate to change it to 0.0.0.0?

data:
  otel-agent-config: |
    receivers:
      otlp:
        protocols:
          grpc:
            endpoint: 0.0.0.0:4317
          http:
            endpoint: 0.0.0.0:4318

Steps to reproduce
Up

What version did you use?
v0.100.0

What config did you use?
examples/k8s/otel-config.yaml

Environment
K8s v1.19.9

Additional context
None

@chenzhiguo chenzhiguo added the bug Something isn't working label May 16, 2024
chenzhiguo added a commit to chenzhiguo/opentelemetry-collector that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant