Skip to content

Q: How to properly mount fileshare with local(docker-desktop) kubernetes #9

@AvinashRamireddy31

Description

@AvinashRamireddy31

Hi,

My projects involves azure fileshare integration.
It is working fine in AKS cluster. I would like to replicate the same in local environment for developers using docker-desktop with kubernetes enabled but fileshare is currently is not working because it is provisioned from azure.

I tried https://github.com/andyzhangx/demo/tree/master/linux/azurefile with static provisioning because I already have fileshare.
1.Created azure-secret with storage name and key.
2.Then edited nginx-pod-azurefile-static.yaml file with my sharename. This is throwing ERROR ".......bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program."

How would I link my local setup with azure fileshare for my pod deployment? I am feeling that I have to change something in mount options.

FYI: I am running docker-desktop on windows machine with WSL2 enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions