Open fabMrc opened 10 months ago
Looks like the operator generates the daemonset manifest and it is not part of the chart itself. I see the operator does set the policy to ClusterFirstWithHostNet
for hostNetwork = true
when creating the daemonset manifest. I would suggest opening an issue in operator repo with your findings.
yes of course thank you
Follow up : https://github.com/open-telemetry/opentelemetry-operator/issues/2357
HI
When using Operator and apply a Opentelemetry collector using
mode=daemonSet
,hostNetwork=true
anddnsPolicy
isClusterFirst
. It does not allow correct dns resolution for all service and pod inside the cluster. For exampleloki.svc.cluster.local
can not be resolved because using this network configuration, it relies on the underlyingresolv.conf
host and it does not be able to resolve a internal cluster recordset dns. when usinghostNetwork
true
thednsPolicy
must beClusterFirstWhenHostNet
. Currently it is the operator that control the network configuration and set any pod attributes according tomode
property value