Describe the bug
Running antctl.exe on a Windows VM results in an error. The same command works fine when executed inside a Windows pod.
To Reproduce
Run antctl.exe supportbundle on a Windows Node.
Observe the error output.
Expected
The command antctl.exe supportbundle should execute successfully on the Windows VM, similar to how it works inside the Windows pod.
Actual behavior
When executing antctl.exe on a Windows VM, the following error is returned:
PS C:\k\antrea\bin> .\antctl.exe supportbundle
Error: error when creating system client: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
Describe the bug Running antctl.exe on a Windows VM results in an error. The same command works fine when executed inside a Windows pod.
To Reproduce
Expected The command antctl.exe supportbundle should execute successfully on the Windows VM, similar to how it works inside the Windows pod.
Actual behavior When executing antctl.exe on a Windows VM, the following error is returned:
Versions: Antrea v2.1