Comments (2)
vscode 的日志输出如下,可以看到,其实容器多了两个。(我不知道这种到底算是replace模式还是Duplicate模式)我理解replace模式原有的容器应该去掉的。只剩下dev容器,但是他又还留着原有的容器,
[start dev] Initializing..
[start dev] Container: xxxxxx-ms
dev[replace] start ...
[cmd] /root/.nh/bin/nhctl dev start default.application -d xxxxx -t deployment --without-terminal -s /workspace/xxxxxxx --container xxxx -i xxxx/middleware/openjdk:17-jdk-dev-s3cmd -n aiops-v3 --kubeconfig /root/.nh/vscode-plugin/kubeConfigs/2eb0988166ec328fac4627f3c5483610
Starting replace DevMode...
Disabling hpa...
No hpa found
deployment.apps/xxxxxx-ms patched
Original manifest recorded
Executing ScalePatches...
Patching {"op":"replace","path":"/spec/replicas","value":1}
deployment.apps/xxxxxx-ms patched
Mount workDir to emptyDir
Update strategy to RECREATE
deployment.apps/xxxxxx-ms patched
Patching development container...
deployment.apps/xxxxxx-ms patched
Patching development annotations...
deployment.apps/xxxxxx-ms patched
Now waiting dev mode to start...
Pod xxxxxx-ms-df868b589-964kq now Pending
- Condition: ContainersNotReady, containers with unready status: [xxxxxx nocalhost-dev nocalhost-sidecar]
- Condition: ContainersNotReady, containers with unready status: [xxxxxx nocalhost-dev nocalhost-sidecar]
Container: nocalhost-dev is Waiting, Reason: ContainerCreating
Container: nocalhost-sidecar is Waiting, Reason: ContainerCreating
Pod xxxxxx-ms-df868b589-964kq now Running
- Condition: ContainersNotReady, containers with unready status: [xxxxxx-ms]
- Condition: ContainersNotReady, containers with unready status: [xxxxxx-ms]
Container: nocalhost-dev is Running
Container: nocalhost-sidecar is Running
deployment.apps/xxxxxx-ms patched
✓ Dev container has been updated
Syncthing port-forward pod xxxxxx-ms-df868b589-964kq, namespace aiops-v3
IgnoredPattern:
SyncedPattern:
!**
✓ File sync started
dev start end
sync file ...
[cmd] /root/.nh/bin/nhctl sync default.application -d xxxxxx-ms -t deployment --container xxxxxx-ms -n aiops-v3 --kubeconfig /root/.nh/vscode-plugin/kubeConfigs/2eb0988166ec328fac4627f3c5483610
sync file end
from nocalhost.
是因为argocd自动同步,把原有的pod的容器给加进去了
from nocalhost.
Related Issues (20)
- PHP远程调试没起到效果
- Code of Conduct update to replace mediator email with the CNCF committee email
- Supports change the sync dir when DevMode started
- gitIgnore synchronization does not take effect HOT 1
- 有没有可能支持远程调试C/C++代码
- Failed to get node configs, please try again HOT 2
- Security Slam 2023 Participation
- vscode remote-ssh方式无法工作 HOT 1
- proxy mode下,如果代理到本地的进程A`想访问部署在集群中的下游服务B,是不是没法成功访问
- nocalhost组件依赖socat组件咨询
- 你们的微信二维码 没有看过我的请求 HOT 1
- Plugin 'Nocalhost' (version '0.6.29-231') is not compatible with the current version of the IDE, because it requires build 231.* or older but the current build is IU-233.11799.241 HOT 1
- How to solve build network problem? HOT 1
- Impersonate-User用户模拟在vscode插件中添加集群后,后续开发功能例如View Logs在调用api时没有传递 --as 参数 导致异常 HOT 2
- golang jetbrains kubeconfig 文件权限受限,不能正常使用 nocalhost HOT 4
- nocalhost-sidecar ssh has weak passwords HOT 1
- Does nocalhost support debug in docker compose HOT 3
- Report the use of components with vulnerabilities in nocalhost
- JetBrains IDE 版本更新到了24.1,插件只支持23.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nocalhost.