Skip to content

ClusterFirstWithHostNet? #23

@noworrieseh

Description

@noworrieseh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions