We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e688a06 + 28ab348 commit 8aaa751Copy full SHA for 8aaa751
cluster/gce/windows/k8s-node-setup.psm1
@@ -417,11 +417,13 @@ function DownloadAndInstall-CSIProxyBinaries {
417
}
418
419
420
-# TODO(jingxu97): Make csi-proxy.exe as a service similar to kubelet.exe
421
function Start-CSIProxy {
422
if (Test-IsTestCluster $kube_env) {
423
- Log-Output 'Starting CSI Proxy'
424
- Start-Process "${env:NODE_DIR}\csi-proxy.exe"
+ Log-Output "Creating CSI Proxy Service"
+ & sc.exe create csiproxy binPath= "${env:NODE_DIR}\csi-proxy.exe --windows-service"
+ & sc.exe failure csiproxy reset= 0 actions= restart/10000
425
+ Log-Output "Starting CSI Proxy Service"
426
+ & sc.exe start csiproxy
427
428
429
0 commit comments