kubernetes-sigs / sig-windows-dev-tools

This is a batteries included local development environment for Kubernetes on Windows.
Apache License 2.0
80 stars 46 forks source link

Head is borked #216

Closed jayunit100 closed 2 years ago

jayunit100 commented 2 years ago

ill fix this later


Stderr from the command:

Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\tmp\vagrant-shell.ps1:3 char:26
+ if (-not(Test-Path -Path $env:KUBECONFIG -PathType Leaf)) {
+                          ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Test-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
   mand

cp : Cannot find path 'C:\forked\config.ps1' because it does not exist.
At C:\tmp\vagrant-shell.ps1:18 char:1
+ cp C:/forked/config.ps1 .\config.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\forked\config.ps1:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

CNI binary directory C:\Program Files\containerd\cni\bin doesn't exist.  Please create it and ensure kubelet is
configured with matching --cni-bin-dir.
At C:\CalicoWindows\libs\calico\calico.psm1:35 char:13
+             throw "CNI binary directory $env:CNI_BIN_DIR doesn't exis ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jayunit100 commented 2 years ago

NVM, as long we we vagrant install the windows plugins per readme, i think this is a non issue .

for searchability, FYI if windows vagrant plugins arent installed, you get

PS C:\Program Files> cd C:\forked\
PS C:\forked> dir
dir : The network path was not found.
At line:1 char:1
+ dir
+ ~~~
    + CategoryInfo          : ReadError: (C:\forked:String) [Get-ChildItem], IOException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand