vscode-tekton
vscode-tekton copied to clipboard
Leaking kubectl processes
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