You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我在正常终端中执行以上命令。 结果正常。 VSCode 中不正常, 无法加载kubeconfig 。难道因为我的路径中包含空格 ?
kubeconfig 后面一段C:\Users\"Gabriel Wu"\.kube\config哪去了 ? PS C:\Users\Gabriel Wu\.nh\bin> .\nhctl.exe kubeconfig check -i -c k3d-k3d-cluster --kubeconfig C:\Users\"Gabriel Wu"\.kube\config [{"status":"SUCCESS","tips":"Current context can list with cluster-scope resources"}]
手动在 vscode 的kubeconfig 里编辑, 加上“” 号。 依然报错。
What you expected to happen:
正常加载 kubeconfig 配置
How to reproduce it (as minimally and precisely as possible):
windows 11 上 vscode 安装 nocalhost v0.6.19
路径中包含空格
vscode 版本 1.74.0
Anything else we need to know?:
Environment:
OS (e.g: Macos 10.15.5 (19F96) or Windows 10): Windows 11
nhctl version (use nchtl version command):
nocalhost v0.6.19
nhctl: Nocalhost CLI
Version: v0.6.19
Branch: HEAD
Git commit: 6b60504abd065f45d0ffd941a5a30ceed8187e7e
Built time: Fri Nov 25 15:05:59 2022
Built OS/Arch: windows/amd64
Built Go version: go1.16.7
helm version (use helm version command):
PS D:\GitSpace\infra-code> helm version
version.BuildInfo{Version:"v3.9.4", GitCommit:"dbc6d8e20fe1d58d50e6ed30f09a04a77e4c68db", GitTreeState:"clean", GoVersion:"go1.17.13"}
What happened:
Windows 11 上的 vscode, 安装插件nocalhost 插件, 已经开启了科学上网, 可以正常下载 nhctl.
nhctl 启动失败, 可见在执行以下命令
execute command fail:C:\Users\Gabriel Wu\.nh\bin\nhctl.exe kubeconfig check -i -c k3d-k3d-cluster --kubeconfig -
我在正常终端中执行以上命令。 结果正常。 VSCode 中不正常, 无法加载kubeconfig 。难道因为我的路径中包含空格 ?
kubeconfig 后面一段
C:\Users\"Gabriel Wu"\.kube\config
哪去了 ?PS C:\Users\Gabriel Wu\.nh\bin> .\nhctl.exe kubeconfig check -i -c k3d-k3d-cluster --kubeconfig C:\Users\"Gabriel Wu"\.kube\config [{"status":"SUCCESS","tips":"Current context can list with cluster-scope resources"}]
手动在 vscode 的kubeconfig 里编辑, 加上“” 号。 依然报错。
What you expected to happen:
正常加载 kubeconfig 配置
How to reproduce it (as minimally and precisely as possible):
windows 11 上 vscode 安装 nocalhost v0.6.19
路径中包含空格
vscode 版本 1.74.0
Anything else we need to know?:
Environment:
Macos 10.15.5 (19F96)
orWindows 10
):Windows 11
nchtl version
command):nocalhost v0.6.19
helm version
command):kubectl version
command):The text was updated successfully, but these errors were encountered: