I was deploying moosefs-csi on a fresh k3s stack. I'm hosting my moosefs in the same stack and I wasn't able to direct the csi to point to the internal dns name of the master. It worked fine if I used the internal IP address.
I was able to address this by adding "dnsPolicy: ClusterFirstWithHostNet" to the controller StatefulSet and the node DaemonSet.
Is there a reason that this isn't the default configuration? I suspect most masters are external to the stack, but is there an issue with including this as a default? Maybe as a note in the deployment documentation.
I was deploying moosefs-csi on a fresh k3s stack. I'm hosting my moosefs in the same stack and I wasn't able to direct the csi to point to the internal dns name of the master. It worked fine if I used the internal IP address.
I was able to address this by adding "dnsPolicy: ClusterFirstWithHostNet" to the controller StatefulSet and the node DaemonSet.
Is there a reason that this isn't the default configuration? I suspect most masters are external to the stack, but is there an issue with including this as a default? Maybe as a note in the deployment documentation.