Skip to content

Commit 5d8bf8c

Browse files
authored
Merge pull request #86 from jingxu97/patch-2
Update README.md
2 parents 897abed + 71082b1 commit 5d8bf8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Recommended K8s Version: 1.18
2020

2121
CSI-proxy is currently in Alpha status
2222

23+
## Installation
24+
25+
csi-proxy.exe can be installed and run as binary or run as a Windows service on each Windows node. See the following as an example to run CSI Proxy as a web service.
26+
```
27+
$flags = "-windows-service -log_file=\etc\kubernetes\logs\csi-proxy.log -logtostderr=false"
28+
sc.exe create csiproxy binPath= "\etc\kuberentes\node\bin\csi-proxy.exe $flags"
29+
sc.exe failure csiproxy reset= 0 actions= restart/10000
30+
sc.exe start csiproxy
31+
```
32+
If you are using kube-up to start a Windows cluster, node startup script will automatically run csi-proxy as a service. For GKE 1.18+, csi-proxy will be installed automatically.
33+
2334
## Usage
2435

2536
### Command line options

0 commit comments

Comments
 (0)