Skip to content

Commit 1beb873

Browse files
author
Doug Davis
committed
help
Signed-off-by: Doug Davis <[email protected]>
1 parent e7b83d5 commit 1beb873

File tree

13 files changed

+130
-0
lines changed

13 files changed

+130
-0
lines changed

app-n-job/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ This will build an image that can be used for both Applications and Batch Jobs.
44
By checking for the presence of the `JOB_INDEX` environment variable, the code
55
will know whether to start a web service (Application) or just do its task
66
and exit (Batch Job).
7+
8+
- - -
9+
10+
As noted in [the main README](../README.md), this sample has two pieces:
11+
12+
- a `build` script which will build the container image used
13+
- a `run` script which deploys a new Application using that image
14+
15+
The main purpose of this example is the `run` script, but the `build`
16+
script is included for complete educational (and reuse) purposes.

app2job/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ The Application will wait for an HTTP PUT request containing the name of the
99
Job definition in its HTTP Path. It will then use that Job definition name
1010
to submit a new Job. When the job is done, it will then check the logs of the
1111
Job to verify it worked correctly.
12+
13+
- - -
14+
15+
As noted in [the main README](../README.md), this sample has two pieces:
16+
17+
- a `build` script which will build the container image used
18+
- a `run` script which deploys a new Application using that image
19+
20+
The main purpose of this example is the `run` script, but the `build`
21+
script is included for complete educational (and reuse) purposes.

bind-app/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ set of environment variables. But as the App owner you only need to look at
99
the new environment variables that will be added to the App.
1010

1111
In this sample we'll create an instance of a DB2 service.
12+
13+
- - -
14+
15+
As noted in [the main README](../README.md), this sample has two pieces:
16+
17+
- a `build` script which will build the container image used
18+
- a `run` script which deploys a new Application using that image
19+
20+
The main purpose of this example is the `run` script, but the `build`
21+
script is included for complete educational (and reuse) purposes.

bind-job/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ your job. Meaning, it'll make the secret name/value pairs visible as a
88
set of environment variables.
99

1010
In this sample we'll create an instance of a DB2 service.
11+
12+
- - -
13+
14+
As noted in [the main README](../README.md), this sample has two pieces:
15+
16+
- a `build` script which will build the container image used
17+
- a `run` script which deploys a new Application using that image
18+
19+
The main purpose of this example is the `run` script, but the `build`
20+
script is included for complete educational (and reuse) purposes.

configmaps/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ environment variable.
99
The application will log (print to stdout) all of its environment variables.
1010

1111
Note: the same basic logic will work for Batch Jobs as well.
12+
13+
- - -
14+
15+
As noted in [the main README](../README.md), this sample has two pieces:
16+
17+
- a `build` script which will build the container image used
18+
- a `run` script which deploys a new Application using that image
19+
20+
The main purpose of this example is the `run` script, but the `build`
21+
script is included for complete educational (and reuse) purposes.

cos-event/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,13 @@ CRN/ID (the value in the first column of each row). If you leave this
2222
variable unset, the `run` script will attempt to create a `lite` (free of
2323
charge) COS instance for you, which it will then delete upon completion. It
2424
will not delete any existing instance you specify via the `COS_ID` variable.
25+
26+
- - -
27+
28+
As noted in [the main README](../README.md), this sample has two pieces:
29+
30+
- a `build` script which will build the container image used
31+
- a `run` script which deploys a new Application using that image
32+
33+
The main purpose of this example is the `run` script, but the `build`
34+
script is included for complete educational (and reuse) purposes.

hello/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
11
# Hello
22

33
A pretty simple node.js application. Gotta start some place.
4+
5+
- - -
6+
7+
As noted in [the main README](../README.md), this sample has two pieces:
8+
9+
- a `build` script which will build the container image used
10+
- a `run` script which deploys a new Application using that image
11+
12+
The main purpose of this example is the `run` script, but the `build`
13+
script is included for complete educational (and reuse) purposes.

helloworld/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,13 @@ return "Hello World" back to the caller.
66
Check the source code for all of the things you can make it do either via
77
environment variables or query parameters. This is good for testing the
88
system to see how it reacts - for example, when the app crashes.
9+
10+
- - -
11+
12+
As noted in [the main README](../README.md), this sample has two pieces:
13+
14+
- a `build` script which will build the container image used
15+
- a `run` script which deploys a new Application using that image
16+
17+
The main purpose of this example is the `run` script, but the `build`
18+
script is included for complete educational (and reuse) purposes.

job/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ This sample shows up to run a batch job. It will create the batch job two ways:
99
Each instance of each Job submitted will print, to its logs, its "index",
1010
which is defined by its `JOB_INDEX` environment variable. The `run` script
1111
will print some of the log files to show this.
12+
13+
- - -
14+
15+
As noted in [the main README](../README.md), this sample has two pieces:
16+
17+
- a `build` script which will build the container image used
18+
- a `run` script which deploys a new Application using that image
19+
20+
The main purpose of this example is the `run` script, but the `build`
21+
script is included for complete educational (and reuse) purposes.

job2app/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,13 @@ When the Job is run, each instance will call the App 10 times. Which means
1010
by setting the `array-indices` to a range of 50, the App should be hit 500
1111
times. At the end of `run` it will ask the App for the number of times it
1212
was called, to verify the count.
13+
14+
- - -
15+
16+
As noted in [the main README](../README.md), this sample has two pieces:
17+
18+
- a `build` script which will build the container image used
19+
- a `run` script which deploys a new Application using that image
20+
21+
The main purpose of this example is the `run` script, but the `build`
22+
script is included for complete educational (and reuse) purposes.

0 commit comments

Comments
 (0)