Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leaking kubectl processes #644

Open
lstocchi opened this issue Nov 10, 2021 · 0 comments
Open

Leaking kubectl processes #644

lstocchi opened this issue Nov 10, 2021 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@lstocchi
Copy link
Contributor

When starting vscode with the tekton extension, I see kubectl processes created to start watching for the tekton resources. The issue is that those processes are never closed and if you restart a vscode window many times they increased and remains unused.

By closing and reopening vscode three times i end up with

  22697 tty2     Sl+    0:00 kubectl get tt -w -o json
  22712 tty2     Sl+    0:00 kubectl get pipeline -w -o json
  22765 tty2     Sl+    0:00 kubectl get tb -w -o json
  22787 tty2     Sl+    0:00 kubectl get pipelinerun -w -o json
  22805 tty2     Sl+    0:00 kubectl get el -w -o json
  22830 tty2     Sl+    0:00 kubectl get ctb -w -o json
  22845 tty2     Sl+    0:00 kubectl get taskrun -w -o json
  22865 tty2     Sl+    0:00 kubectl get task -w -o json
  22890 tty2     Sl+    0:00 kubectl get clustertask -w -o json
  22918 tty2     Sl+    0:00 kubectl get pipelineresources -w -o json
  22959 tty2     Sl+    0:00 kubectl get condition -w -o json
  27584 tty2     Sl+    0:00 kubectl get tt -w -o json
  27594 tty2     Sl+    0:00 kubectl get pipeline -w -o json
  27619 tty2     Sl+    0:00 kubectl get tb -w -o json
  27643 tty2     Sl+    0:00 kubectl get pipelinerun -w -o json
  27668 tty2     Sl+    0:00 kubectl get el -w -o json
  27674 tty2     Sl+    0:00 kubectl get taskrun -w -o json
  27707 tty2     Sl+    0:00 kubectl get ctb -w -o json
  27717 tty2     Sl+    0:00 kubectl get task -w -o json
  27739 tty2     Sl+    0:00 kubectl get clustertask -w -o json
  27761 tty2     Sl+    0:00 kubectl get pipelineresources -w -o json
  27783 tty2     Sl+    0:00 kubectl get condition -w -o json
  30067 tty2     Sl+    0:00 kubectl get tt -w -o json
  30120 tty2     Sl+    0:00 kubectl get pipeline -w -o json
  30218 tty2     Sl+    0:00 kubectl get tb -w -o json
  30261 tty2     Sl+    0:00 kubectl get pipelinerun -w -o json
  30280 tty2     Sl+    0:00 kubectl get el -w -o json
  30302 tty2     Sl+    0:00 kubectl get taskrun -w -o json
  30321 tty2     Sl+    0:00 kubectl get ctb -w -o json
  30340 tty2     Sl+    0:00 kubectl get task -w -o json
  30375 tty2     Sl+    0:00 kubectl get clustertask -w -o json
  30396 tty2     Sl+    0:00 kubectl get pipelineresources -w -o json
  30420 tty2     Sl+    0:00 kubectl get condition -w -o json

@mohitsuman mohitsuman added this to the 1.1.0 milestone Apr 9, 2022
@mohitsuman mohitsuman added the kind/bug Something isn't working label Apr 9, 2022
@mohitsuman mohitsuman modified the milestones: 1.1.0, 1.2.0 Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants