Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 5.38 KB

README.md

File metadata and controls

59 lines (37 loc) · 5.38 KB

Bridge to Kubernetes

Build Status

CodeQL

The Bridge to Kubernetes team plans to no longer actively maintain the project. Over the next few months, we will transition the project to an archival state. In the meantime, the project is still available to use and download. During this period, we will also explore and recommend community projects that provide similar benefits to Bridge to Kubernetes for your future use.

Welcome to Bridge-To-Kubernetes! Bridge to Kubernetes extends the Kubernetes perimeter to your development computer allowing you to write, test, and debug microservice code while connected to your Kubernetes cluster with the rest of your application or services. You can simply run your code natively on your development workstation while connected to the Kubernetes cluster, allowing you to test your code changes in the context of the larger application.

Introduction Video

https://learn.microsoft.com/en-us/shows/open-at-microsoft/get-started-with-bridge-to-kubernetes

image002

Key Features:

Simplifying Microservice Development

  • Eliminate the need to manually source, configure and compile external dependencies on your development computer.

Easy Debugging

  • Run your usual debug profile with the added cluster configuration. You can debug your code as you normally would while taking advantage of the speed and flexibility of local debugging.

Developing and Testing End-to-End

  • Test end-to-end during development time. Select an existing service in the cluster to route to your development machine where an instance of that service is running locally. Request initiated through the frontend of the application running in Kubernetes will route between services running in the cluster until the service you specified to redirect is called.

Documentation

CLI tool installation

  • curl -fsSL https://raw.githubusercontent.com/Azure/Bridge-To-Kubernetes/main/scripts/install.sh | bash
  • Supports Linux, Darwin, Windows - use WSL (installation link here) or Git Bash (installation link here)

How to use the CLI

  • run the following command dsc connect --service <service-name> --local-port <port-number> --namespace <namespace> --use-kubernetes-service-environment-variables
  • example is dsc connect --service stats-api --local-port 3001 --namespace todo-app
  • for help dsc --help
  • for version dsc --version

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines] (https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

Security Reporting Guidance

Checkout the SECURITY.md file in this repo for details.

Data Collection

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Support

Bridge to Kubernetes is an open source project that is not covered by the Microsoft Azure support policy. Please search open issues here, and if your issue isn't already represented please open a new one. The project maintainers will respond to the best of their abilities and triage the most urgent bugs.