Git Product home page Git Product logo

Comments (11)

neaped avatar neaped commented on August 27, 2024

Hi, 请问在浏览器中能否通过该域名访问 Nocalhost Server 的管理后台?

如果后台管理页面是可以通过域名访问的话,是否方便提供下 Nocalhost VSCode 插件的日志,看看在连接的时候,日志中的记录。

日志在: ~/.nh/vscode-plugin 里的 all-the-logs.log。应该能看到类似的 ERROR 记录

[2021-06-12T22:48:21.731] [ERROR] default - http://127.0.0.1:34880/: No cluster found for [email protected]
[2021-06-12T22:48:26.765] [ERROR] default - {
  source: 'api',
  error: { code: 50111, message: 'Dev space has not found', data: null }
}

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

没有error @neaped

[2021-06-12T15:39:46.807] [INFO] default - [cmd] /root/.nh/bin/nhctl version
[2021-06-12T15:39:46.815] [INFO] default - [vscode Command] exec command: Nocalhost.addKubeconfig
[2021-06-12T15:39:49.107] [INFO] default - [cmd] /root/.nh/bin/nhctl version
[2021-06-12T15:39:49.115] [INFO] default - [vscode Command] exec command: Nocalhost.signin
[2021-06-12T15:40:01.080] [INFO] default - [cmd] /root/.nh/bin/nhctl version
[2021-06-12T15:40:01.087] [INFO] default - [vscode Command] exec command: Nocalhost.signin
[2021-06-12T15:40:28.102] [INFO] default - [cmd] /root/.nh/bin/nhctl version
[2021-06-12T15:40:28.109] [INFO] default - [vscode Command] exec command: Nocalhost.signin
[2021-06-12T15:40:40.257] [INFO] default - [cmd] /root/.nh/bin/nhctl version
[2021-06-12T15:40:40.265] [INFO] default - [vscode Command] exec command: Nocalhost.signin

from nocalhost.

neaped avatar neaped commented on August 27, 2024

那是否可以在浏览器中直接通过该域名访问 Nocalhost Server 呢?

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

没有问题
image

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

补充一下,我是在 remote container 里面 安装插件的

from nocalhost.

neaped avatar neaped commented on August 27, 2024

感谢回复。我们这边先排查一下该问题的原因,会尽快给予回复或修复。

from nocalhost.

neaped avatar neaped commented on August 27, 2024

@zengzhengrong Hi, 请问你在 Remote Container 里面是否有装 kubectl ? 如果有的话,是否能执行下

kubectl cluster-info

看看 kubeconfig 内的信息是否和您的 K8s 集群配置信息一致?或者能否尝试:

在 Nocalhost Server 中的 DevSpace 下,将创建的 DevSpacekubeconfig � 拷贝一下,然后在 VSCode 插件通过

Add Kubeconfig -> Past as Text 添加 DevSpace

示例图:

image

image

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

Add kubeconfig 这个选项是没问题的,是 下面这个选项不行
image

image

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

目前这个加号,不是应该打开pod里容器的终端吗
image

from nocalhost.

neaped avatar neaped commented on August 27, 2024

感谢回复。

我们已经在尝试排查这个问题了。

另外,是否可以留下联系方式?方便提供更高效的支持

from nocalhost.

zengzhengrong avatar zengzhengrong commented on August 27, 2024

好的,微信zengzhengrong_

from nocalhost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.