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: dotnet/dotnet-guestbook/.readmes/intellij/README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ The Guestbook sample demonstrates how to deploy a Kubernetes application with a
5
5
### Table of Contents
6
6
*[Getting Started](#getting-started)
7
7
1.[Run the app locally with minikube](#run-the-app-locally-with-minikube)
8
-
*[Start a minikube cluster](#start-a-minikube-cluster)
8
+
*[Edit run configuration](#edit-run-configuration)
9
9
*[Run the app on minikube](#run-the-app-on-minikube)
10
10
2.[Run the app remotely with Google Kubernetes Engine](#run-the-app-remotely-with-google-kubernetes-engine)
11
11
*[Set up a GKE cluster](#set-up-a-gke-cluster)
@@ -20,29 +20,26 @@ The Guestbook sample demonstrates how to deploy a Kubernetes application with a
20
20
21
21
### Run the app locally with minikube
22
22
23
-
#### Start a minikube cluster
24
-
1. Navigate to the Kubernetes Explorer from the right side panel, or by going to **Tools > Cloud Code > Kubernetes > View Cluster Explorer**.
25
-
26
-
2. If the Cluster Explorer is empty, go to the terminal and run 'minikube start'.
27
-

23
+
#### Edit run configuration
24
+
1. Click the Run/Debug Configurations dropdown on the top taskbar and select 'Edit Configurations'.
25
+

28
26
29
-
3. Once minikube has started, it will be displayed in the Cluster Explorer. Minikube will be set as the current context by default. To switch contexts, right click on a different cluster in the Cluster Explorer and select 'Set as Current Context'.
30
-

27
+
2. In the Run/Debug Configurations dialog, select 'Develop on Kubernetes'. This configuration watches for changes, then uses [skaffold](https://skaffold.dev/docs/) to rebuild and rerun your app.
31
28
29
+
3. Under **Run > Deployment**, select 'Deploy locally to a minikube cluster'.
30
+

32
31
33
-
#### Run the app on minikube
34
-
1. Click the Run/Debug configurations dropdown on the top taskbar and select 'Edit Configurations'. Select 'Develop on Kubernetes'. You may need to specify your [container image repository](https://cloud.google.com/code/docs/intellij/configuring-container-image-settings?utm_source=ext&utm_medium=partner&utm_campaign=CDR_kri_gcp_cloudcodereadmes_012521&utm_content=-).
35
-

32
+
4. Click 'OK' to save your configuration.
36
33
37
-
2. Click 'OK' to save your configuration.
38
34
39
-
3. Select 'Develop on Kubernetes' from the configuration drop down and click the run icon. Cloud Code runs your app in a local [minikube](ttps://minikube.sigs.k8s.io/docs/start/) cluster.
35
+
#### Run the app on minikube
36
+
1. Select 'Develop on Kubernetes' from the configuration drop down and click the run icon. Cloud Code runs your app in a local [minikube](ttps://minikube.sigs.k8s.io/docs/start/) cluster.
40
37

41
38
42
-
4. View the build process in the output window. Once the build has finished, you will receive a notification from the Event Log. Click 'View' to access the local URLs for your deployed services. The URLs remain accessible through the Event Log dialog.
39
+
2. View the build process in the output window. Once the build has finished, you will receive a notification from the Event Log. Click 'View' to access the local URLs for your deployed services. The URLs remain accessible through the Event Log dialog.
43
40

44
41
45
-
5. To stop the application, click the stop icon next to the configuration dropdown.
42
+
3. To stop the application, click the stop icon next to the configuration dropdown.
46
43
47
44
---
48
45
### Run the app remotely on Google Kubernetes Engine
Copy file name to clipboardExpand all lines: dotnet/dotnet-guestbook/README.md
+11-14Lines changed: 11 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,29 +33,26 @@ For details on how to use this sample as a template in Cloud Code, read the docu
33
33
34
34
### Run the app locally with minikube
35
35
36
-
#### Start a minikube cluster
37
-
1. Navigate to the Kubernetes Explorer from the right side panel, or by going to **Tools > Cloud Code > Kubernetes > View Cluster Explorer**.
36
+
#### Edit run configuration
37
+
1. Click the Run/Debug Configurations dropdown on the top taskbar and select 'Edit Configurations'.
38
+

38
39
39
-
2. If the Cluster Explorer is empty, go to the terminal and run 'minikube start'.
40
-

40
+
2. In the Run/Debug Configurations dialog, select 'Develop on Kubernetes'. This configuration watches for changes, then uses [skaffold](https://skaffold.dev/docs/) to rebuild and rerun your app.
41
41
42
-
3.Once minikube has started, it will be displayed in the Cluster Explorer. Minikube will be set as the current context by default. To switch contexts, right click on a different cluster in the Cluster Explorer and select 'Set as Current Context'.
43
-

42
+
3.Under **Run > Deployment**, select 'Deploy locally to a minikube cluster'.
43
+

44
44
45
+
4. Click 'OK' to save your configuration.
45
46
46
-
#### Run the app on minikube
47
-
1. Click the Run/Debug configurations dropdown on the top taskbar and select 'Edit Configurations'. Select 'Develop on Kubernetes'. You may need to specify your [container image repository](https://cloud.google.com/code/docs/intellij/configuring-container-image-settings?utm_source=ext&utm_medium=partner&utm_campaign=CDR_kri_gcp_cloudcodereadmes_012521&utm_content=-).
48
-

49
-
50
-
2. Click 'OK' to save your configuration.
51
47
52
-
3. Select 'Develop on Kubernetes' from the configuration drop down and click the run icon. Cloud Code runs your app in a local [minikube](ttps://minikube.sigs.k8s.io/docs/start/) cluster.
48
+
#### Run the app on minikube
49
+
1. Select 'Develop on Kubernetes' from the configuration drop down and click the run icon. Cloud Code runs your app in a local [minikube](ttps://minikube.sigs.k8s.io/docs/start/) cluster.
53
50

54
51
55
-
4. View the build process in the output window. Once the build has finished, you will receive a notification from the Event Log. Click 'View' to access the local URLs for your deployed services. The URLs remain accessible through the Event Log dialog.
52
+
2. View the build process in the output window. Once the build has finished, you will receive a notification from the Event Log. Click 'View' to access the local URLs for your deployed services. The URLs remain accessible through the Event Log dialog.
56
53

57
54
58
-
5. To stop the application, click the stop icon next to the configuration dropdown.
55
+
3. To stop the application, click the stop icon next to the configuration dropdown.
0 commit comments