Git Product home page Git Product logo

Comments (26)

daniv-msft avatar daniv-msft commented on May 17, 2024 3

@williamohara Thanks for your message. We have made good progress on this since the previous comments, and we're close from having WSL support. Unless we discover major issues with the final integration, we should be able to provide this in the coming weeks (let's say end of February/beginning of March) in VS Code.

from mindaro.

pragyamehta avatar pragyamehta commented on May 17, 2024 1

Hi @igsys In the docs you have provided a link for, under this section Connect to your cluster and debug a service, there is a step
Open mindaro/samples/BikeSharingApp/Bikes from the Bike Sharing sample application in Visual Studio Code.
Once you do that, you should see the correct launch profiles as displayed by the screenshot.

Please don't forget to follow the intermediate steps - selecting the correct namespace and running npm install before you start to debug.

Kindly open a new issue in case you have any more questions!

from mindaro.

jmhill avatar jmhill commented on May 17, 2024 1

Hey @daniv-msft thanks so much for getting back to me: for question 1, it's a blocker for us in the sense that VS Code + .devcontainer is our preferred development environment now - our company uses windows machines (and I tested BTK on the windows side and it seems to work great) but all of our new projects embrace containerized development environments. BTK looks (like AZDS connect looked) to be the streamlined tool we'd want to use, but we favor the devcontainer usage enough that in the short term we'd probably stitch together other tools (maybe skaffold + telepresence or something similar) to achieve the "run project locally with proxy to cluster" approach if BTK + devcontainer isn't ready.

Thanks for the background on point 2, that helped alot.

from mindaro.

tvvignesh avatar tvvignesh commented on May 17, 2024 1

Hi. Great to see this.

Support in remote ssh would be very important in my case since I do all my development in a remote VM. Mentioned here: #14 (comment)

Currently if I install Bridge to Kubernetes on VSCode Remote SSH, ssh disconnects and reconnects again and again automatically (works well with Bridge to Kubernetes uninstalled).

The sidecar support would also be very important thing in my point of view. I use the cluster with Linkerd service mesh which is going to inject a lot of sidecars. Supporting Bridge to Kubernetes with Sidecars would be awesome.

Tracked here: #52

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024 1

Thank you @tvvignesh for giving a try to Bridge and this feedback! Yes, the two items you mention are important for us, and are high in our backlog. I'll make sure we update the issues you linked when we have more update on these.

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024 1

@tvvignesh Thanks, we'll reply on the other issue you created to provide more info there. Thank you for this very complete status!

from mindaro.

jmhill avatar jmhill commented on May 17, 2024 1

@daniv-msft just closing the loop on our exchange above; I emailed the requested log files (copied out of the devcontainer that was failing) to the email address you provided. Thanks again for your help.

from mindaro.

rakeshvanga avatar rakeshvanga commented on May 17, 2024 1

@williamohara Bridge To Kubernetes now supports WSL. Please find the documentation Kubernetes service environment variables on using Bridge To Kubernetes on WSL.
Let me know if you face any issues.
Thanks!

from mindaro.

jmhill avatar jmhill commented on May 17, 2024

@greenie-msft A few questions

  1. Is there more information anywhere about the Linux support status/what scenarios are supported there? Tried the quickstart in both VS Code Remote WSL and VS Code Remote Container (devcontainer) and ran into problems when trying to use the new launch config (the task fails with "ClassName":"System.InvalidOperationException","Message":"Failed to run EndpointManager with elevated privileges: No such file or directory"). Should I open a ticket with this info for you guys or is this supposed to be unsupported right now?

  2. I'm unfamiliar with this nip.io service that is being used now - my basic question is, will this work out of the box with an internal load balancer on AKS (we've now been told that not exposing our dev/pr review apps to the public internet is going to be a requirement for us)?

from mindaro.

igsys avatar igsys commented on May 17, 2024

I was following the docs, and went up to this step and start having trouble. The following is what the doc describes in the Debug Menu.

https://code.visualstudio.com/docs/containers/bridge-to-kubernetes

choose-bridge-to-kubernetes

And this what I am actually getting. I removed all the azure extensions from VSCode, start from a clean state, and follow each step in the documentation.

CleanShot 2020-10-09 at 11 08 26

How to resolve this issue?

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

@jmhill Thank you for contacting us.

  1. As of today, we support full Linux machines, but not WSL/devcontainer. That said, these are on our radar (WSL especially) as other customers mentioned this already.
    To help us prioritize this, could you please let us know if this is a blocker as of today for you? Is it possible for you to use a full Linux machine in the meantime (or Windows/Mac)?

  2. Yes, I don't foresee any issues with nip.io in this case: nip.io is only operating at the DNS request level, and as such doesn't need to have public access to what is targeted.
    For context, we need nip.io for load balancers when working isolated in Bridge. This is because when isolated, we provide an isolated subdomain to the endpoint, which is not possible to do with a load balancer's raw IP (for example, http://jmhill.1.2.3.4/ isn't valid). Using nip.io allows us to bypass this.

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

Thank you @jmhill for your reply!
Looking more into the devcontainer scenario, I don't see any fundamental blocker that would prevent us from running into this scenario. Looking at the error you received above, I suspect this is just an issue when we determine the path of our binaries. While we didn't spend enough time investigating this scenario, I would like to determine if I can unblock you and your team quickly.

Would it be possible for you to send me the Bridge to Kubernetes logs corresponding to this issue? You can find them here:

  • For Windows: %TEMP%/Bridge to Kubernetes
  • For OSX/Linux: $TMPDIR/Bridge to Kubernetes

Please include the latest bridge-library-*, bridge-mindarocli-* and bridge-endpointmanager-* (if created) after reproducing the bug.

If you don't feel comfortable uploading the logs on GitHub (as they might contain personally identifiable information), feel free to send them to me directly: [email protected].

from mindaro.

tvvignesh avatar tvvignesh commented on May 17, 2024

@daniv-msft Hi. Thanks for your quick reply. I am really eager to try this but am actually facing more issues than actually mentioned here. I have documented it all here: #63

Hope its prioritized sometime. Thanks for your effort.

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

Thank you @jmhill! We're investigating your logs and will provide more details on the email you sent us.

from mindaro.

alanmbarr avatar alanmbarr commented on May 17, 2024

Are there plans to release an updated VSIX for the Visual Studio IDE? Using any Kubernetes cluster is a nice feature on vscode so far.

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

@alanmbarr We're still fixing a couple of issues/completing the implementation, but we're almost there. It should be available in Visual Studio in a couple of weeks now.
+@danegsta who drives this on our side.

from mindaro.

amir-davoodi avatar amir-davoodi commented on May 17, 2024

Hi, I am trying to evaluate Bridge to Kubernetes in Visual Studio to use it within my team, however, the create profile dialogue fails to load the namespaces in my cluster! Is there anything other than connecting to the cluster needs to be done to get this working?

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

Thanks @amir-davoodi for giving a try to Bridge to Kubernetes, and sorry you encounter this issue.
Could what you see be an occurrence of #26 ?

from mindaro.

amir-davoodi avatar amir-davoodi commented on May 17, 2024

Thanks @daniv-msft for the reply. And yes! it looks like we are facing the same issue since we have enabled AAD for our AKS clusters. I'm looking forward to the fix. Is there any ETA?

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

Thanks @amir-davoodi for your reply! Did you have a chance to try the workaround mentioned there? While we are working on making the experience better, in the foreseeable future we'll still rely on the kubectl authentication flow so that we don't need to reimplement it ourselves.
Do you encounter any issues while following the instructions mentioned there?

from mindaro.

liujiyuan avatar liujiyuan commented on May 17, 2024

Header propagation over http works fine.
How to propagation Header over tcp in envoy when Running in isolation mode?

from mindaro.

daniv-msft avatar daniv-msft commented on May 17, 2024

Thanks @liujiyuan for adding this comment. Tracking the replies to your question in #91

from mindaro.

williamohara avatar williamohara commented on May 17, 2024

@daniv-msft

  1. As of today, we support full Linux machines, but not WSL/devcontainer. That said, these are on our radar (WSL especially) as other customers mentioned this already.
    To help us prioritize this, could you please let us know if this is a blocker as of today for you? Is it possible for you to use a full Linux machine in the meantime (or Windows/Mac)?

This is an aggravation for me - not so much a blocker - yet. I need to have parallelism. I will have to do a lot of context switching between WSL and Windows - when do you think you will support WSL?

from mindaro.

williamohara avatar williamohara commented on May 17, 2024

@daniv-msft Well - is WSL coming ? I am waiting with bated breath. Let me know if you need another beta customer to try it out. I can't imagine my use case would be comprehensive though. its just me contributing to an open source project. :)

from mindaro.

dariuszparys avatar dariuszparys commented on May 17, 2024

I see that there is work in progress for sidecar support https://github.com/microsoft/mindaro/projects/1#card-51374140 is there any estimation when this can be expected or progress of the work? (Branch, etc...)?

from mindaro.

Brice187 avatar Brice187 commented on May 17, 2024

Support in remote ssh would be very important in my case since I do all my development in a remote VM. Mentioned here: #14 (comment)

Please add remote ssh for Bridge to Kubernetes. This would be awesome!

from mindaro.

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.