Code Monkey home page Code Monkey logo

Comments (2)

VincentYuan-hub avatar VincentYuan-hub commented on July 21, 2024

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.

VincentYuan-hub avatar VincentYuan-hub commented on July 21, 2024

是因为argocd自动同步,把原有的pod的容器给加进去了

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.