File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed
Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 77Refer to [ Windows-CSI-Support] ( https://github.com/kubernetes/enhancements/tree/master/keps/sig-windows/1122-windows-csi-support ) for more details.
88
99## Prerequisite
10- - [ Install CSI-Proxy on Windows Node] ( https://github.com/Azure/aks-engine/blob/master/docs/topics/csi-proxy-windows.md )
10+ - [ Install CSI-Proxy on Windows Node] ( https://github.com/kubernetes-csi/csi-proxy#installation )
11+ - install csi-proxy on k8s 1.23+ Windows node using host process daemonset directly
12+ ``` console
13+ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/example/windows/csi-proxy.yaml
14+ ```
15+
1116
1217## Deploy a Windows pod with PVC mount
1318### Create a Windows deployment
14- ```
19+ ``` console
1520kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/example/windows/statefulset.yaml
1621```
1722
1823### Enter pod container to verify
19- ```
24+ ``` console
2025$ kubectl exec -it busybox-smb-0 -- bash
2126C:/ $ ls mnt/smb
2227```
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : apps/v1
3+ kind : DaemonSet
4+ metadata :
5+ labels :
6+ k8s-app : csi-proxy
7+ name : csi-proxy
8+ namespace : kube-system
9+ spec :
10+ selector :
11+ matchLabels :
12+ k8s-app : csi-proxy
13+ template :
14+ metadata :
15+ labels :
16+ k8s-app : csi-proxy
17+ spec :
18+ nodeSelector :
19+ " kubernetes.io/os " : windows
20+ securityContext :
21+ windowsOptions :
22+ hostProcess : true
23+ runAsUserName : " NT AUTHORITY\\ SYSTEM"
24+ hostNetwork : true
25+ containers :
26+ - name : csi-proxy
27+ image : ghcr.io/kubernetes-sigs/sig-windows/csi-proxy:v1.0.2
You can’t perform that action at this time.
0 commit comments