Skip to content

Support spec.dnsPolicy #4265

@kurarrr

Description

@kurarrr

Component(s)

Collector

Is your feature request related to a problem? Please describe.

Hi, I'm running OpenTelemetryCollector with daemonset mode, where all pods are on hostNetwork: true
In my situation, I don't use any service discovery and want to set dnsPolicy: Default, but currently it looks impossible.

func GetDNSPolicy(hostNetwork bool, dnsConfig corev1.PodDNSConfig) corev1.DNSPolicy {

Describe the solution you'd like

Along with keeping the current logic of setting dnsPolicy, can I add spec.dnsPolicy to the collector attribute?

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Labels

area:collectorIssues for deploying collectorenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions