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

Ide integration #348

Closed
bhack opened this issue Apr 7, 2018 · 20 comments
Closed

Ide integration #348

bhack opened this issue Apr 7, 2018 · 20 comments

Comments

@bhack
Copy link

bhack commented Apr 7, 2018

Do you have already any plan on how to integrate with ide?
I.e. atom/atom#14860

@r2d4
Copy link
Contributor

r2d4 commented Apr 7, 2018

As a weekend project I started https://github.com/r2d4/vscode-k8s, which is available on the visual studio code marketplace at https://marketplace.visualstudio.com/items?itemName=kubernetes-tools.k8s

It exposes a "skaffold dev" and "skaffold run" right-click menu item on skaffold.yaml files, which runs in the integrated terminal.

I don't plan to devote much time to this right now, but I'd be happy to help others get started if theres enough interest.

@bhack
Copy link
Author

bhack commented Apr 8, 2018

@r2d4 I think that generally there is a specific issue about language servers and remote debbuger comunication cause dependencies are only available in the image.

@bhack
Copy link
Author

bhack commented Apr 8, 2018

I.e. For vscode see microsoft/vscode-python#79

@bhack
Copy link
Author

bhack commented Apr 8, 2018

Other than language server and interpreter or execution there is also the remote debugging.
An example for python but still not automated: https://github.com/DonJayamanne/vscode-python-samples/tree/master/remote-debugging-docker

@bhack
Copy link
Author

bhack commented Apr 8, 2018

@bhack
Copy link
Author

bhack commented Apr 8, 2018

Probably this cloud be interesting also if it is related to Draft https://github.com/Azure/vscode-kubernetes-tools/

@bhack
Copy link
Author

bhack commented Apr 14, 2018

I think that there could be something in common with Skaffold also for the debug requirements vscode-kubernetes-tools/vscode-kubernetes-tools#160

@bhack
Copy link
Author

bhack commented May 18, 2018

@r2d4 If you don't have enough bandwidth here I think that there could be a collaboration to reuse some common components of https://github.com/Azure/vscode-kubernetes-tools if the Draft part will be pluggable and not embedded. Most of the features there are K8S related. Do you think that there could be some contact between the Azure and Google Container teams about this or is it sci-fi? 😉

@bhack
Copy link
Author

bhack commented May 18, 2018

/cc @itowlson What do you think?

@bhack
Copy link
Author

bhack commented May 27, 2018

Check also https://medium.com/solo-io/introducing-kubesquash-remotely-debug-your-kubernetes-pods-f3e3391eaf16

@bhack
Copy link
Author

bhack commented May 28, 2018

/cc @ilevine

@itowlson
Copy link

@bhack At this stage the core team for VS Kubernetes Tools is focused more on Draft than on Skaffold (and, unfortunately, we have limited resource and can't do everything!), but we definitely want to enable folks to plug in additional tools. I'm working surfacing an API from the VS Kubernetes Tools extension that would allow another extension to leverage and integrate with the existing commands an UI. Very happy to work with the Skaffold community on that.

@bhack
Copy link
Author

bhack commented Jan 24, 2019

There are two vscode issues to follow about remote scenarios if you are interested:
microsoft/vscode#35671
microsoft/vscode#29194

@nkubala
Copy link
Contributor

nkubala commented Feb 5, 2019

@bhack sorry there hasn't been a lot of clarification from the team here, and thanks for all the ideas and input! we're currently working on a number of features to make native IDE integration possible, including schema generation for syntax highlighting of skaffold resources and a full control API exposed over gRPC. you can track these individual features with the ide label on issues in the repo.

@bhack
Copy link
Author

bhack commented Feb 5, 2019

Cause you had an initial vscode plugin my feedbacks was almost oriented to vscode and all the features requested for remote interaction cause soon or later you need to interact with pod remote resources for debugging etc..

@nkubala
Copy link
Contributor

nkubala commented May 1, 2019

with the release of Cloud Code, I think this issue can be closed! @bhack and others please go give it a try, it has awesome native skaffold integration which we're actively developing and improving on.

any cloud code specific issues can be opened on their issues repo, or improvements in skaffold that you think would benefit cloud code can of course be opened here.

@nkubala nkubala closed this as completed May 1, 2019
@bhack
Copy link
Author

bhack commented May 1, 2019

@nkubala Do you know if it solve also #1396?
Or is it still in the Skaffold perimeter?

@nkubala
Copy link
Contributor

nkubala commented May 2, 2019

@bhack I don't think this issue addresses #1396 unfortunately. that will require a separate change to the way we trigger syncs and isn't really IDE specific. an API for controlling specific skaffold components is still on the table though, and we'll look into how we can leverage it to sync to non-skaffold targets.

@bhack
Copy link
Author

bhack commented May 2, 2019

Ok thanks. I will stay subscribed to #1396 for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants