profile
viewpoint
SANDIP CHITALE sandipchitale OpenText Pleasanton, California http://sandipchitale.blogspot.com/

issue commentAzure/vscode-kubernetes-tools

Update Kubernetes Clusters View content automatically when something changed

One heuristic that could be used for optimizing the refreshing could be that - if the Cluster changing action originated from the VSCode Kubernetes extension context and the affected nodes are expanded in the tree, then refresh those. For example if I use Delete or Delete Now commands on a Pod, do a refresh on the Pods node. Of course the user may use kubectl command in a termnal or install/upgrade a helm chart which may affect the Cluster, that may not be trackable.

dgolovin

comment created time in 8 hours

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

Filed a new PR with Copy Full Tag command only. See: https://github.com/microsoft/vscode-docker/pull/1431

sandipchitale

comment created time in 2 days

PR opened microsoft/vscode-docker

Add Copy Full Tag command.
+30 -0

0 comment

3 changed files

pr created time in 2 days

push eventsandipchitale/vscode-docker

SANDIP CHITALE

commit sha df716089f13ecfb9c49136d44aa575286299d932

Add Copy Full Tag command.

view details

push time in 2 days

push eventsandipchitale/vscode-docker

SANDIP CHITALE

commit sha 52f96989f5c44d0913d83835f1b7f95941bcdf39

Copy Full Tag command.

view details

push time in 2 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

Sure. I can do that.

And I find Copy Full Tag command really useful because that is the format once needs in other docker CLI commands.

And I guess I will keep my extension going then.

sandipchitale

comment created time in 2 days

push eventsandipchitale/vscode-docker

SANDIP CHITALE

commit sha 6212f074ea007e1f3f735aab0ace66b3ce7bf924

Fix TSLint errors.

view details

push time in 2 days

push eventsandipchitale/vscode-docker

SANDIP CHITALE

commit sha 950f33655df5a31489cf0078f476aeed71267100

Use diveExecutablePath setting.

view details

push time in 2 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha dabbd577e416c97a7c0d388cb65654f1f1eceb8e

Fix typo in nsenter

view details

push time in 2 days

push eventsandipchitale/docker-dive

SANDIP CHITALE

commit sha eb98911605a191a482698fa6706465397e95e434

Use dive command specified in settings. Create terminal if needed.

view details

push time in 2 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

FIiled pull request: https://github.com/microsoft/vscode-docker/pull/1428

sandipchitale

comment created time in 3 days

push eventsandipchitale/vscode-docker

SANDIP CHITALE

commit sha 960f7b9f337060bf855d0e9d2e76f85baf766acd

Add Copy Full Tag and Dive commands.

view details

push time in 3 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

OK. I will look into it.

sandipchitale

comment created time in 3 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

Ok. I will look into it.

sandipchitale

comment created time in 3 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

Wanted to make user of your extension aware of additional extension on top.

sandipchitale

comment created time in 3 days

issue commentmicrosoft/vscode-docker

INFO: Integration with dive command

Oops forgot: https://marketplace.visualstudio.com/items?itemName=sandipchitale.docker-dive

sandipchitale

comment created time in 3 days

issue openedmicrosoft/vscode-docker

INFO: Integration with dive command

Checkout this VSCode extension that integrates with dive command. The dive command enables the exploration of layers in a Docker file. This extension also adds the Dive command with the image tag node in Docker View:Images Viewlet tree context menu.

created time in 3 days

create barnchsandipchitale/docker-dive

branch : master

created branch time in 3 days

created repositorysandipchitale/docker-dive

A VSCode extension to run dive command on a Docker image.

created time in 3 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha a2ca1a3e4fc9eb5b04d4be78e03d07a626360e59

Use indexOf instead of includes.

view details

push time in 5 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 1f64770667c9fd50dd8daa8a500467da0cf92d4b

Show mount points in file system with `[Mounted]` tag.

view details

push time in 5 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha e0156a607eebffd5280f1ac5ffbb2ad391400c19

Simplify code. Show Volumes under Pod and Volume Mounts under Containers.

view details

push time in 5 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 82a612bb8085014f188425d991d97bd1c6e9d035

Update README.

view details

push time in 6 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 86fec1f4ac31a91c157f48bb75a3212837dd870c

Mac and linux as well.

view details

push time in 9 days

issue commentAzure/vscode-kubernetes-tools

Add support for browsing file system of Kubernetes pods (containers)

@bhack thanks for the reference. I agree that will be more complete solution. My integration was a quick and simple implementation to get browsing going.

In first comment I suggested using FileSystemProvider based on Kubectl command integration via this extension.

sandipchitale

comment created time in 9 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha afc76c12625ffe812795f81161817af138e3d843

User needs to specify the nsenter image using preference `kubernetes-file-system-explorer.nsenter-image`.

view details

push time in 10 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 709542c45b4093212adcf27abba68add33c284ac

Detect hostName from label.

view details

push time in 10 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 9438189ca63161d3b6c3f704d13f5da653881251

Terminal on Kubernetes nodes (MS Windows only).

view details

push time in 10 days

issue openedmoby/moby

Support tagging an image while loading image with docker load -i

Description

Depending on how docker image tar was saved it does not have tags recorded in it. So I use

docker load -i image.tar

I get an image with out a tag.

Steps to reproduce the issue:

  1. Use
docker load -i image.tar

command to load a image tar which does not have tag 2. run

docker images

and see that the docker image does not have a tag.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

Client: Docker Engine - Community
 Version:           19.03.2
 API version:       1.40
 Go version:        go1.12.8
 Git commit:        6a30dfc
 Built:             Thu Aug 29 05:26:49 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.2
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.8
  Git commit:       6a30dfc
  Built:            Thu Aug 29 05:32:21 2019
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.6
  GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc:
  Version:          1.0.0-rc8
  GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

created time in 10 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 5b79215504246f2c1ef0568a79e691d63ca0aabc

Force update.

view details

push time in 10 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha b44f679a3a5656b925b0895bd139578319652a46

ls -al on folders.

view details

push time in 10 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 42dde1c0babf836536a4fde1de7a25df394dd4ad

Use TextDocumentContentProvider.

view details

push time in 11 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha d8b30b68af031bf07cfdac76aae9af5dc3701fe3

Terminal command on Container nodes.

view details

push time in 11 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 38c004092c70eda9179a437a6bd2c5f628f9b70d

Commands on correct Container File and Folder node.

view details

push time in 12 days

issue commentAzure/vscode-kubernetes-tools

Add support for browsing file system of Kubernetes pods (containers)

@itowlson I am glad you find the extension useful. I will be happy for it to continue as a separate extension. It could be an example of how to extend your extension via API.

Your API is already good. The only thing I would request is availability of context of custom nodes to be used in the when clause of menu contributions. That way I could show the Find command for FolderNodes only and View file command for FileNodes only. Basically something along the lines of viewItem =~ /vsKubernetes\contrubutednode....

BTW I am looking into implementing (time permitting) the dual pane idea for being able to copy files to/from container easily. I guess this is sort of possible using View file command and the saving the Untitled document locally. But the dual pane one will work more like FileZilla or something. It will use VSCode FileSystemProvider backed by -- ls -l executed in the container. And use kubectl cp command to copy files to/from container/local file system.

I guess you can close this issue.

BTW I have another extension based on your API: https://marketplace.visualstudio.com/items?itemName=sandipchitale.kubernetes-no-load-on-select

sandipchitale

comment created time in 12 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 747c160cb3e90c9f1649e39072c8ae17505e8411

Find command on directories.

view details

push time in 14 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 4012c10b674d452c5f4b001467c6ef8cc1d1a85d

Updated screenshot.

view details

push time in 14 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha d1039d170410ac9e9c648648bce97d5025fd7089

Deal with links.

view details

push time in 15 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 91c433c26c54eaa653ec927aa59fadd45b95f4f3

Show filesystem of all container.

view details

push time in 15 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 92af4e38f78f184921e1ec57cdd469e78e85624b

Correct version.

view details

push time in 15 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 5d11446b462ba7bd7ad4f31d5dd33325b8c7fff2

Show containers.

view details

push time in 15 days

issue openedAzure/vscode-kubernetes-tools

Add support for browsing file system of Kubernetes pods (containers)

For example see: https://marketplace.visualstudio.com/items?itemName=sandipchitale.kubernetes-file-system-explorer

Basically use:

kubectl exec -it podname -- ls /

to get the listings of files starting at /. Show them as tree nodes. Also using the command:

kubectl exec -it podname -- cat /path/to/file

and showing the returned content in a editor.

Both supported by the extension above.

Lastly even better option would be to support dual pane file browser for local and container filesystem. Use the the:

kubectl cp fom podname:/to

to copy files from/to.

Use the https://code.visualstudio.com/api/references/vscode-api#FileSystemProvider API to implement the container filesystem browser.

created time in 15 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha b94eb8c910f99c0c6c79d7fc36035dc0284aa4d2

Add View File command

view details

push time in 15 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha 6ddf65b782681f34a2e211def2f2515c7ef92689

Fix github repo link.

view details

push time in 16 days

push eventsandipchitale/kubernetes-file-system-explorer

SANDIP CHITALE

commit sha ebfc39a1588366fa2695d6e8c5f5a5cfe6f93bb4

Add screenshot and description.

view details

push time in 16 days

create barnchsandipchitale/kubernetes-file-system-explorer

branch : master

created branch time in 16 days

created repositorysandipchitale/kubernetes-file-system-explorer

Kubernetes Pod File System Explorer

created time in 16 days

create barnchsandipchitale/vscode-selection-file-path

branch : master

created branch time in 19 days

created repositorysandipchitale/vscode-selection-file-path

VSCode extension to process selection as file path and provides commands to process it.

created time in 19 days

push eventsandipchitale/openindefaulteditor

SANDIP CHITALE

commit sha b71c78a6af6e3d5c98e4be6eb254b5ac91b82870

Support mac (using open command) and linux (using gnome-open command).

view details

push time in 21 days

push eventsandipchitale/openindefaulteditor

SANDIP CHITALE

commit sha 3672e619e924d04eff48301f8d8ba5f8d7f47497

Add command category. Show command only when file system resource is selected.

view details

push time in 21 days

push eventsandipchitale/vscode-command-window-or-terminal

SANDIP CHITALE

commit sha e1d5089d8aa7d750008b69325edf93999e6311bb

Show commands in editor tab context menu as well.

view details

push time in 21 days

create barnchsandipchitale/vscode-command-window-or-terminal

branch : master

created branch time in 21 days

created repositorysandipchitale/vscode-command-window-or-terminal

VS Code extention to open selected folder or selected file's folder in external command window or terminal.

created time in 21 days

push eventsandipchitale/vscode-indent-line

SANDIP CHITALE

commit sha d111c6907a5a272cd6a6e447ca2cf8a505332b84

Code cleanup

view details

push time in a month

create barnchsandipchitale/vscode-indent-line

branch : master

created branch time in a month

created repositorysandipchitale/vscode-indent-line

Indent line to correct level.

created time in a month

pull request commentaefernandes/vscode-clipboard-history-extension

Implement clipboard.cyclePaste command

Any chance this pull request will be merged?

sandipchitale

comment created time in a month

create barnchsandipchitale/openindefaulteditor

branch : master

created branch time in a month

created repositorysandipchitale/openindefaulteditor

VS Code extention to open selected resource (file or folder) in default editor (MS Windows only).

created time in a month

pull request commentaefernandes/vscode-clipboard-history-extension

Implement clipboard.cyclePaste command

BTW This is an excellent extension - simple and elegant.

sandipchitale

comment created time in a month

PR opened aefernandes/vscode-clipboard-history-extension

Implement clipboard.cyclePaste command

Invoking clipboard.cyclePaste command in rapid succession (< 1 second) cycles through the items in clipboard and pastes them in place. The selection is cleared after 1 second.

+1002 -24

0 comment

5 changed files

pr created time in a month

push eventsandipchitale/vscode-clipboard-history-extension

SANDIP CHITALE

commit sha 59f4db7795b22c180044e01060582341284aa575

Update version, README and comment code for cyclePaste command.

view details

push time in a month

push eventsandipchitale/vscode-clipboard-history-extension

SANDIP CHITALE

commit sha 5eb70b0194888b8a08277aa7838c5eab400e96bb

Cycle Paste

view details

push time in a month

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha e8e2facf9619258b5fd1d0ce45962b21c27d419a

Update .gitignore

view details

push time in 3 months

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha 97770b5377c8f63356317459dd77ae8a5e1a820b

Delete kubernetes-no-on-select-1.0.0.vsix

view details

push time in 3 months

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha 8c8e25ce6979607fd4a72e4a70953daafeee6ec7

Setting `kubernetes-no-load-on-select.Pod.onselect` to control what command is executed when a tree node for a Pod is selected in Clusters Explorer view.

view details

push time in 3 months

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha aa608b2a9500664f73c04a65b2908ed2fb0e9abe

Fix name

view details

push time in 3 months

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha 5d044334bf99bebe80876e767628fb927c379d12

Add icon

view details

SANDIP CHITALE

commit sha 8633285fe53d80726c3264acd414893bd40026e4

Better icon

view details

push time in 3 months

push eventsandipchitale/kubernetes-no-load-on-select

SANDIP CHITALE

commit sha 08f3e10697eded2bbec8c8c7c5ba8e6224749fbf

Fix compilation error.

view details

push time in 3 months

create barnchsandipchitale/kubernetes-no-load-on-select

branch : master

created branch time in 3 months

created repositorysandipchitale/kubernetes-no-load-on-select

Visual Studio Code extension - do not load the document on tree node selection for Kubernetes resources in Cluster Explorer view.

created time in 3 months

more