Skip to content

Commit 56dfbb6

Browse files
author
Simon Zeltser
committed
Adding readme.md to all hello-world samples. No code changes.
1 parent 821f73f commit 56dfbb6

9 files changed

Lines changed: 222 additions & 0 deletions

File tree

dotnet/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ packages
77
dotnet-hello-world/.vscode/settings.json
88
dotnet-hello-world/src/obj/
99
dotnet-hello-world/src/bin/
10+
dotnet-guestbook/src/obj/
11+
dotnet-guestbook/src/bin/
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hello World with Cloud Code
2+
3+
![Architecture Diagram](./img/diagram.png)
4+
5+
"Hello World" is a simple Kubernetes application that contains a single
6+
[Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) and a corresponding
7+
[Service](https://kubernetes.io/docs/concepts/services-networking/service/). The Deployment contains a
8+
[Flask-based](http://flask.pocoo.org/) web server that simply prints "Hello World".
9+
10+
----
11+
12+
## Table of Contents
13+
14+
### Cloud Code for Visual Studio Code
15+
16+
1. [Getting Started](#getting-started])
17+
2. [What's in the box](https://cloud.google.com/code/docs/vscode/quickstart#whats_in_the_box)
18+
3. Using Cloud Code
19+
* [Set up a Google Kubernetes Engine Cluster](https://cloud.google.com/code/docs/vscode/quickstart#creating_a_google_kubernetes_engine_cluster)
20+
* [Deploy the app](https://cloud.google.com/code/docs/vscode/quickstart#deploying_your_app)
21+
* [Continuous Deployment](https://cloud.google.com/code/docs/vscode/quickstart#initiating_continuous_deployment)
22+
* [View Container Logs](https://cloud.google.com/code/docs/vscode/quickstart#viewing_container_logs)
23+
* [Debug Your Code](https://cloud.google.com/code/docs/vscode/quickstart#debugging_your_application)
24+
* [Open a Terminal in Your Container](https://cloud.google.com/code/docs/vscode/quickstart#opening_a_terminal_in_your_container)
25+
4. [Using the Command Line](#using-the-command-line)
26+
* [Skaffold](#using-skaffold)
27+
* [kubectl](#using-kubectl)
28+
29+
----
30+
31+
### Getting Started
32+
33+
This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.
34+
35+
* [Install Cloud Code for VS Code](https://cloud.google.com/code/docs/vscode/install)
36+
* [Creating a new app](https://cloud.google.com/code/docs/vscode/creating-an-application)
37+
* [Editing YAML files](https://cloud.google.com/code/docs/vscode/yaml-editing)
38+
39+
----
40+
41+
### Using the Command Line
42+
43+
As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools
44+
45+
#### Skaffold
46+
47+
[Skaffold](https://github.com/GoogleContainerTools/skaffold) is a command line tool that can be used to build, push, and deploy your container images
48+
49+
```bash
50+
skaffold run --default-repo=gcr.io/your-project-id-here/cloudcode
51+
```
52+
53+
#### kubectl
54+
55+
[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) is the official Kubernetes command line tool. It can be used to deploy Kubernetes manifests to your cluster, but images must be build seperately using another tool (for example, using the [Docker CLI](https://docs.docker.com/engine/reference/commandline/cli/))
31.7 KB
Loading

golang/go-hello-world/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hello World with Cloud Code
2+
3+
![Architecture Diagram](./img/diagram.png)
4+
5+
"Hello World" is a simple Kubernetes application that contains a single
6+
[Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) and a corresponding
7+
[Service](https://kubernetes.io/docs/concepts/services-networking/service/). The Deployment contains a
8+
web server that simply prints "Hello World".
9+
10+
----
11+
12+
## Table of Contents
13+
14+
### Cloud Code for Visual Studio Code
15+
16+
1. [Getting Started](#getting-started])
17+
2. [What's in the box](https://cloud.google.com/code/docs/vscode/quickstart#whats_in_the_box)
18+
3. Using Cloud Code
19+
* [Set up a Google Kubernetes Engine Cluster](https://cloud.google.com/code/docs/vscode/quickstart#creating_a_google_kubernetes_engine_cluster)
20+
* [Deploy the app](https://cloud.google.com/code/docs/vscode/quickstart#deploying_your_app)
21+
* [Continuous Deployment](https://cloud.google.com/code/docs/vscode/quickstart#initiating_continuous_deployment)
22+
* [View Container Logs](https://cloud.google.com/code/docs/vscode/quickstart#viewing_container_logs)
23+
* [Debug Your Code](https://cloud.google.com/code/docs/vscode/quickstart#debugging_your_application)
24+
* [Open a Terminal in Your Container](https://cloud.google.com/code/docs/vscode/quickstart#opening_a_terminal_in_your_container)
25+
4. [Using the Command Line](#using-the-command-line)
26+
* [Skaffold](#using-skaffold)
27+
* [kubectl](#using-kubectl)
28+
29+
----
30+
31+
### Getting Started
32+
33+
This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.
34+
35+
* [Install Cloud Code for VS Code](https://cloud.google.com/code/docs/vscode/install)
36+
* [Creating a new app](https://cloud.google.com/code/docs/vscode/creating-an-application)
37+
* [Editing YAML files](https://cloud.google.com/code/docs/vscode/yaml-editing)
38+
39+
----
40+
41+
### Using the Command Line
42+
43+
As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools
44+
45+
#### Skaffold
46+
47+
[Skaffold](https://github.com/GoogleContainerTools/skaffold) is a command line tool that can be used to build, push, and deploy your container images
48+
49+
```bash
50+
skaffold run --default-repo=gcr.io/your-project-id-here/cloudcode
51+
```
52+
53+
#### kubectl
54+
55+
[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) is the official Kubernetes command line tool. It can be used to deploy Kubernetes manifests to your cluster, but images must be build seperately using another tool (for example, using the [Docker CLI](https://docs.docker.com/engine/reference/commandline/cli/))
31.9 KB
Loading

java/java-hello-world/README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hello World with Cloud Code
2+
3+
![Architecture Diagram](./img/diagram.png)
4+
5+
"Hello World" is a simple Kubernetes application that contains a single
6+
[Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) and a corresponding
7+
[Service](https://kubernetes.io/docs/concepts/services-networking/service/). The Deployment contains a
8+
[Spring-based](http://spring.io/) web server that simply prints "Hello World".
9+
10+
----
11+
12+
## Table of Contents
13+
14+
### Cloud Code for Visual Studio Code
15+
16+
1. [Getting Started](#getting-started])
17+
2. [What's in the box](https://cloud.google.com/code/docs/vscode/quickstart#whats_in_the_box)
18+
3. Using Cloud Code
19+
* [Set up a Google Kubernetes Engine Cluster](https://cloud.google.com/code/docs/vscode/quickstart#creating_a_google_kubernetes_engine_cluster)
20+
* [Deploy the app](https://cloud.google.com/code/docs/vscode/quickstart#deploying_your_app)
21+
* [Continuous Deployment](https://cloud.google.com/code/docs/vscode/quickstart#initiating_continuous_deployment)
22+
* [View Container Logs](https://cloud.google.com/code/docs/vscode/quickstart#viewing_container_logs)
23+
* [Debug Your Code](https://cloud.google.com/code/docs/vscode/quickstart#debugging_your_application)
24+
* [Open a Terminal in Your Container](https://cloud.google.com/code/docs/vscode/quickstart#opening_a_terminal_in_your_container)
25+
4. [Using the Command Line](#using-the-command-line)
26+
* [Skaffold](#using-skaffold)
27+
* [kubectl](#using-kubectl)
28+
29+
----
30+
31+
### Getting Started
32+
33+
This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.
34+
35+
* [Install Cloud Code for VS Code](https://cloud.google.com/code/docs/vscode/install)
36+
* [Creating a new app](https://cloud.google.com/code/docs/vscode/creating-an-application)
37+
* [Editing YAML files](https://cloud.google.com/code/docs/vscode/yaml-editing)
38+
39+
----
40+
41+
### Using the Command Line
42+
43+
As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools
44+
45+
#### Skaffold
46+
47+
[Skaffold](https://github.com/GoogleContainerTools/skaffold) is a command line tool that can be used to build, push, and deploy your container images
48+
49+
```bash
50+
skaffold run --default-repo=gcr.io/your-project-id-here/cloudcode
51+
```
52+
53+
#### kubectl
54+
55+
[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) is the official Kubernetes command line tool. It can be used to deploy Kubernetes manifests to your cluster, but images must be build seperately using another tool (for example, using the [Docker CLI](https://docs.docker.com/engine/reference/commandline/cli/))
32.3 KB
Loading
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Hello World with Cloud Code
2+
3+
![Architecture Diagram](./img/diagram.png)
4+
5+
"Hello World" is a simple Kubernetes application that contains a single
6+
[Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) and a corresponding
7+
[Service](https://kubernetes.io/docs/concepts/services-networking/service/). The Deployment contains a
8+
web server that simply prints "Hello World".
9+
10+
----
11+
12+
## Table of Contents
13+
14+
### Cloud Code for Visual Studio Code
15+
16+
1. [Getting Started](#getting-started])
17+
2. [What's in the box](https://cloud.google.com/code/docs/vscode/quickstart#whats_in_the_box)
18+
3. Using Cloud Code
19+
* [Set up a Google Kubernetes Engine Cluster](https://cloud.google.com/code/docs/vscode/quickstart#creating_a_google_kubernetes_engine_cluster)
20+
* [Deploy the app](https://cloud.google.com/code/docs/vscode/quickstart#deploying_your_app)
21+
* [Continuous Deployment](https://cloud.google.com/code/docs/vscode/quickstart#initiating_continuous_deployment)
22+
* [View Container Logs](https://cloud.google.com/code/docs/vscode/quickstart#viewing_container_logs)
23+
* [Debug Your Code](https://cloud.google.com/code/docs/vscode/quickstart#debugging_your_application)
24+
* [Open a Terminal in Your Container](https://cloud.google.com/code/docs/vscode/quickstart#opening_a_terminal_in_your_container)
25+
4. [Using the Command Line](#using-the-command-line)
26+
* [Skaffold](#using-skaffold)
27+
* [kubectl](#using-kubectl)
28+
29+
----
30+
31+
### Getting Started
32+
33+
This sample was written to demonstrate how to use the Cloud Code extension for Visual Studio code.
34+
35+
* [Install Cloud Code for VS Code](https://cloud.google.com/code/docs/vscode/install)
36+
* [Creating a new app](https://cloud.google.com/code/docs/vscode/creating-an-application)
37+
* [Editing YAML files](https://cloud.google.com/code/docs/vscode/yaml-editing)
38+
39+
----
40+
41+
### Using the Command Line
42+
43+
As an alternative to using the Cloud Code extension, the application can be deployed to a cluster using standard command line tools
44+
45+
#### Skaffold
46+
47+
[Skaffold](https://github.com/GoogleContainerTools/skaffold) is a command line tool that can be used to build, push, and deploy your container images
48+
49+
```bash
50+
skaffold run --default-repo=gcr.io/your-project-id-here/cloudcode
51+
```
52+
53+
#### kubectl
54+
55+
[kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) is the official Kubernetes command line tool. It can be used to deploy Kubernetes manifests to your cluster, but images must be build seperately using another tool (for example, using the [Docker CLI](https://docs.docker.com/engine/reference/commandline/cli/))
32.2 KB
Loading

0 commit comments

Comments
 (0)