To use an CIFS (Common Internet File Systen) volume in Kubernetes Pod.
NFS volume is natively supported in Kubernetes.
This article recommends using FlexVolume. There is an existing driver for CIFS.
How to install packages to Kubernetes nodes in a Kubernetes way, without engaging your IaaS operator?
Schedule a priviliged Pod to each node via Daemonset. Use nsenter to run package-intall script in the host namespace.
Some examples:
kubectl apply -f ./manifests-to-install-cifs-driver
# verify if the drive is installed successfully
kubectl logs init-cifs-<pod-name-hash> -c init-cifs
# verify if the cifs share is mounted in the testing pod
kubectl exec ubuntu-cifs-mounted -it -- ls /data/lab-cifs