Skip to content

Commit e1dd1c4

Browse files
authored
Update IntelliJ READMEs with new minikube instructions (GoogleCloudPlatform#672)
* Update .NET README with new minikube instructions * remove incorrect image * Update intellij readme images * Update intellij readme content
1 parent 3ba6ee6 commit e1dd1c4

132 files changed

Lines changed: 277 additions & 353 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dotnet/dotnet-guestbook/.readmes/intellij/README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Guestbook sample demonstrates how to deploy a Kubernetes application with a
55
### Table of Contents
66
* [Getting Started](#getting-started)
77
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)
99
* [Run the app on minikube](#run-the-app-on-minikube)
1010
2. [Run the app remotely with Google Kubernetes Engine](#run-the-app-remotely-with-google-kubernetes-engine)
1111
* [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
2020

2121
### Run the app locally with minikube
2222

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-
![image](./img/k8s-explorer-empty.png)
23+
#### Edit run configuration
24+
1. Click the Run/Debug Configurations dropdown on the top taskbar and select 'Edit Configurations'.
25+
![image](./img/edit-configurations.png)
2826

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-
![image](./img/k8s-explorer-full.png)
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.
3128

29+
3. Under **Run > Deployment**, select 'Deploy locally to a minikube cluster'.
30+
![image](./img/run-debug-dialog.png)
3231

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-
![image](./img/image-repo.png)
32+
4. Click 'OK' to save your configuration.
3633

37-
2. Click 'OK' to save your configuration.
3834

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.
4037
![image](./img/deploy-config.png)
4138

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.
4340
![image](./img/deploy-success.png)
4441

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.
4643

4744
---
4845
### Run the app remotely on Google Kubernetes Engine
Binary file not shown.
49.9 KB
Loading
Binary file not shown.
Binary file not shown.
271 KB
Loading

dotnet/dotnet-guestbook/README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,26 @@ For details on how to use this sample as a template in Cloud Code, read the docu
3333

3434
### Run the app locally with minikube
3535

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+
![image](./img/edit-configurations.png)
3839

39-
2. If the Cluster Explorer is empty, go to the terminal and run 'minikube start'.
40-
![image](./img/k8s-explorer-empty.png)
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.
4141

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-
![image](./img/k8s-explorer-full.png)
42+
3. Under **Run > Deployment**, select 'Deploy locally to a minikube cluster'.
43+
![image](./img/run-debug-dialog.png)
4444

45+
4. Click 'OK' to save your configuration.
4546

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-
![image](./img/image-repo.png)
49-
50-
2. Click 'OK' to save your configuration.
5147

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.
5350
![image](./img/deploy-config.png)
5451

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.
5653
![image](./img/deploy-success.png)
5754

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.
5956

6057
---
6158
## Kubernetes Architecture Diagram
49.9 KB
Loading
-14.3 KB
Binary file not shown.
-15.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)