You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/containers/bridge-to-kubernetes.md
+20-16Lines changed: 20 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,35 @@
1
1
---
2
-
title: Use Bridge to Kubernetes with Visual Studio
3
-
titleSuffix: ""
2
+
title: "Tutorial: Connect development machines with Bridge to Kubernetes"
4
3
ms.technology: vs-azure
5
4
ms.date: 03/24/2021
6
-
ms.topic: "quickstart"
7
-
description: "Learn how to use Bridge to Kubernetes with Visual Studio to connect your development computer to a Kubernetes cluster"
5
+
ms.topic: "tutorial"
6
+
description: "Connect your development computer to a Kubernetes cluster with Bridge to Kubernetes with Visual Studio."
8
7
keywords: "Bridge to Kubernetes, Azure Dev Spaces, Dev Spaces, Docker, Kubernetes, Azure, containers"
9
8
monikerRange: ">=vs-2019"
10
9
ms.author: ghogen
11
10
author: ghogen
12
11
manager: jmartens
13
12
---
14
13
15
-
# Use Bridge to Kubernetes
14
+
# Tutorial: Use Bridge to Kubernetes to connect your clusters and your development computers
16
15
17
-
You can use Bridge to Kubernetes to redirect traffic between your Kubernetes cluster and code running on your development computer. This guide also provides a script for deploying a large sample application with multiple microservices on a Kubernetes cluster.
16
+
In this tutorial, you'll learn how to use Bridge to Kubernetes to redirect traffic between your Kubernetes cluster and code running on your development computer.
18
17
19
-
## Before you begin
18
+
This guide also provides a script for deploying a large sample application with multiple microservices on a Kubernetes cluster.
20
19
21
-
This guide uses the [TODO App sample application][todo-app-github]to demonstrate connecting your development computer to a Kubernetes cluster. If you already have your own application running on a Kubernetes cluster, you can still follow the steps below and use the names of your own services.
20
+
Learn more about Bridge to Kubernetes with the article, [How Bridge to Kubernetes works](overview-bridge-to-kubernetes.md).
22
21
23
-
This sample illustrates how Bridge to Kubernetes can be used to develop a microservice version of a simple TODO application on any Kubernetes cluster. This sample, using Visual Studio, has been adapted from code provided by [TodoMVC](http://todomvc.com). These steps should work with any Kubernetes cluster.
22
+
## Prerequisites
23
+
24
+
- A Kubernetes cluster
25
+
-[Visual Studio 2019][visual-studio] version 16.7 Preview 4 or greater running on Windows 10.
26
+
-[Bridge to Kubernetes extension installed][btk-extension]
27
+
28
+
## About the data
29
+
30
+
This tutorial uses Bridge to Kubernetes to develop a microservice version of a simple TODO sample application on any Kubernetes cluster. This [TODO App sample application][todo-app-github], using Visual Studio, has been adapted from code provided by [TodoMVC](http://todomvc.com).
31
+
32
+
These steps should work with any Kubernetes cluster. So, if you already have your own application running on a Kubernetes cluster, you can still follow the steps below and use the names of your own services.
24
33
25
34
The TODO application sample is composed of a frontend and a backend that provides persistent storage. This extended sample adds a statistics component and breaks the application into a number of microservices, specifically:
26
35
@@ -32,15 +41,10 @@ The TODO application sample is composed of a frontend and a backend that provide
32
41
33
42
In all, this extended TODO application is composed of six interrelated components.
34
43
35
-
### Prerequisites
36
-
37
-
- a Kubernetes cluster
38
-
-[Visual Studio 2019][visual-studio] version 16.7 Preview 4 or greater running on Windows 10.
39
-
-[Bridge to Kubernetes extension installed][btk-extension].
40
44
41
45
## Check the cluster
42
46
43
-
Open a command prompt, and check that the kubectl is installed and on the path, the cluster you want to use is available and ready, and set the context to that cluster.
47
+
Open a command prompt, and check that the `kubectl` is installed and on the path, the cluster you want to use is available and ready, and set the context to that cluster.
44
48
45
49
```cmd
46
50
kubectl cluster-info
@@ -152,4 +156,4 @@ Learn how Bridge to Kubernetes works.
0 commit comments