vctl-docs
vctl-docs copied to clipboard
vctl system start pulls old version on Windows
Is there a way to have "vctl system start" pull a newer version of kind.exe and kubectl.exe? When I update the files inside $env:USERPROFILE.vctl\bin with newer versions, then try to vctl system start, the new versions get clobbered (likely because they are patched, correct?)
PS C:\Users\user1.vctl\bin> vctl system start INFO The version of kind.exe is not expected. Current version is v0.11.1, and version v0.9.0 will be downloaded INFO The version of kubectl.exe is not expected. Current version is v1.21.2, and version v1.19.1 will be downloaded Downloading 2 files... Downloading [kubectl.exe 15.49% kind-windows-amd64 97.92%] Finished kind-windows-amd64 100.00% Downloading [kubectl.exe 98.45%] Finished kubectl.exe 100.00% 2 files successfully downloaded. Preparing storage... Container storage has been prepared successfully under C:\Users\user1.vctl\storage Preparing container network... Container network has been prepared successfully using vmnet: vmnet8 Launching container runtime... Container runtime has been started.
You could set env VCTL_SKIP_KIND_CHECK to true to skip the download. Please be aware that the newer version of kind and kubectl are not tested against the vctl, so they may not work as expected.
The skip works but a new error occurs now:
PS C:\Users\user1.vctl> vctl system start Preparing storage... Container storage has been prepared successfully under C:\Users\user1.vctl\storage Preparing container network... Container network has been prepared successfully using vmnet: vmnet8 Launching container runtime... Container runtime has been started.
PS C:\Users\user1.vctl> kind create cluster --image kindest/node:v1.21.2 --name kind-1.21.2 ERROR: failed to create cluster: invalid character '{' looking for beginning of object key string
Note this is using the latest https://dl.k8s.io/release/v1.21.2/bin/windows/amd64/kubectl.exe and https://github.com/kubernetes-sigs/kind/releases/download/v0.11.1/kind-windows-amd64 binaries.
Any updates on this? I'd suggest releasing vctl standalone, out of band if Workstation to support current k8s versions. Bundled kubectl doesn't support powershell completions for example, not to mention it's four versions behind.
It is now 5 versions behind and 6 soon.
Is this project dead ? It was not updated in Fusion 13 and still uses deprecated versions.