Skip to content

Commit 1116de1

Browse files
committed
Frances Overby: Merge pull request #1467 from coligo/fmo-upd-16Sept21-a
1 parent edcac75 commit 1116de1

19 files changed

+131
-108
lines changed

Diff for: app-tutorial.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-09"
5+
lastupdated: "2021-09-16"
66

77
keywords: app tutorial for code engine, application, apps, images, tutorial for code engine, deploying
88

@@ -170,6 +170,8 @@ You can review the code that is used for this example at [`ibmcom/hello`](https:
170170
**Example output**
171171
172172
```
173+
Run 'ibmcloud ce application events -n myapp' to get the system events of the application instances.
174+
Run 'ibmcloud ce application logs -f -n myapp' to follow the logs of the application instances.
173175
OK
174176
175177
Name: myapp
@@ -282,8 +284,10 @@ You successfully deployed and started a {{site.data.keyword.codeengineshort}} ap
282284
283285
**Example output**
284286
285-
```
286-
OK
287+
```
288+
Run 'ibmcloud ce application events -n myapp' to get the system events of the application instances.
289+
Run 'ibmcloud ce application logs -f -n myapp' to follow the logs of the application instances.
290+
OK
287291
288292
Name: myapp
289293
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f

Diff for: appdeploy-access.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, app, memory, cpu, environment variables
88

@@ -147,15 +147,19 @@ ibmcloud ce app get --name myapp
147147
**Example output**
148148

149149
```
150-
Getting job 'myjob'...
150+
[...]
151151
OK
152152
153-
Name: myjob
154-
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
155-
Project Name: myproject
156-
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
157-
Age: 2m4s
158-
Created: 2021-02-17T15:41:12-05:00
153+
Name: myapp
154+
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
155+
Project Name: myproject
156+
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
157+
Age: 2m4s
158+
Created: 2021-09-09T14:01:02-04:00
159+
URL: https://myapp.abcdabcdabc.us-south.codeengine.appdomain.cloud
160+
Cluster Local URL: http://myapp.abcdabcdabc.svc.cluster.local
161+
Console URL: https://cloud.ibm.com/codeengine/project/us-south/01234567-abcd-abcd-abcd-abcdabcd1111/application/myapp/configuration
162+
Status Summary: Application deployed successfully
159163
160164
Image: docker.io/ibmcom/hello
161165
Resource Allocation:

Diff for: appdeploy-update.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-09"
5+
lastupdated: "2021-09-16"
66

77
keywords: applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, app, memory, cpu, environment variables
88

@@ -172,12 +172,9 @@ The sample `docker.io/ibmcom/hello ` image reads the environment variable `TARGE
172172
**Example output**
173173
174174
```
175-
Getting application 'myapp'...
176-
OK
177-
175+
[...]
178176
Name: myapp
179177
[...]
180-
181178
URL: https://myapp.4svg40kna19.us-south.codeengine.appdomain.cloud
182179
Cluster Local URL: http://myapp.4svg40kna19.svc.cluster.local
183180
Console URL: https://cloud.ibm.com/codeengine/project/us-south/01234567-abcd-abcd-abcd-abcdabcd1111/application/myapp/configuration

Diff for: build-tutorial-buildpacks.md

+1
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ ibmcloud ce buildrun get --name tutorial-build-run-851026-090000000
207207

208208
```
209209
Getting build run 'tutorial-build-run-851026-090000000'...
210+
[...]
210211
OK
211212
212213
Name: tutorial-build-run-851026-090000000

Diff for: build.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: builds for code engine, builds, building, source code, build run, application image builds for code engine, job image builds for code engine, container image builds with code engine
88

@@ -368,6 +368,7 @@ ibmcloud ce buildrun get --name helloworld-build-run
368368

369369
```
370370
Getting build run 'helloworld-build-run'...
371+
[...]
371372
OK
372373
373374
Name: helloworld-build-run

Diff for: cli-changelog.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-09"
5+
lastupdated: "2021-09-16"
66

77
keywords: cli change log for code engine, cli version for code engine, change log for cli in code engine, cli history for code engine, change log, cli version history
88

@@ -115,6 +115,7 @@ Find a summary of changes for each version of {{site.data.keyword.codeenginefull
115115

116116
| Version | Release date | Changes |
117117
| ----- | ------- | -------------- |
118+
| 1.19.0 | 16 September 2021 | <ul><li>Added the <code>--password-from-json-file</code> option to the <strong><code>registry create</code></strong> and <strong><code>registry update</code></strong> commands. This option supports referencing an entire IAM apikey JSON file and using the `apikey` field in the file as the registry password.</li><li>Added references to `logs` and `events` commands to the outputs for <strong><code>app get</code></strong>, <strong><code>jobrun get</code></strong>, and <strong><code>buildrun get</code></strong> commands. </ul>|
118119
| 1.18.0 | 09 September 2021 | <ul><li>Added a prompt to confirm deletion to the <strong><code>reclamation delete</code></strong> command. Also added the <code>--force</code> option to the <strong><code>reclamation delete</code></strong> command to force the deletion without confirmation.</li><li>Added the <code>--all-resource-groups</code> option to the <strong><code>project list</code></strong> and <strong><code>reclamation list</code></strong> commands to display projects from all resource groups instead of just the currently targeted resource group.</li><li>Updated the output of the <strong><code>project get</code></strong> command to display the resource quota for all projects, not just the currently selected project.</li><li>Updated the output of the <strong><code>reclamation get</code></strong> and <strong><code>reclamation list</code></strong> commands to display information about time to hard deletion.</li> <li>Updated the output for the <strong><code>application get</code></strong> command to display the `Cluster Local URL` information.</li><li>Updated the output for all commands with the <code>--output json</code> option to display JSON in pretty printed format.</li><li>Updated the <code>----wait-timeout</code> option for the <strong><code>project create</code></strong> command to increase the default value to 600 seconds (10 minutes).</li></ul>|
119120
| 1.17.0 | 31 August 2021 | <ul><li>Added the **`reclamation delete`**, **`reclamation get`**, **`reclamation list`** and **`reclamation restore`** commands for managing project reclamations. </li></ul>|
120121
| 1.16.1 | 24 August 2021 | <ul><li>Fixed various bugs.</li></ul>|

Diff for: cmd_defs.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2021
5-
lastupdated: "2021-09-09"
5+
lastupdated: "2021-09-16"
66

77
keywords: cli for code engine, command-line interface for code engine, cli commands for code engine, reference for code engine cli, ibmcloud ce, ibmcloud codeengine, commands, code engine cli, apps, jobs, source code, configmap, build repository, build, secret, image repository, registry
88

@@ -532,14 +532,14 @@ ibmcloud ce application get --name myapp
532532
{: #application-get-example-output}
533533
534534
```
535+
Run 'ibmcloud ce application events -n myapp' to get the system events of the application instances.
536+
Run 'ibmcloud ce application logs -f -n myapp' to follow the logs of the application instances.
535537
OK
536538

537539
Name: myapp
538540
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
539541
Project Name: myproject
540542
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
541-
Age: 35s
542-
543543
Age: 31m
544544
Created: 2021-09-09T14:01:02-04:00
545545
URL: https://myapp.abcdabcdabc.us-south.codeengine.appdomain.cloud
@@ -1409,6 +1409,8 @@ ibmcloud ce buildrun get --name mybuildrun
14091409
14101410
```
14111411
Getting build run 'mybuildrun'...
1412+
Run 'ibmcloud ce buildrun events -n mybuildrun' to get the system events of the build run.
1413+
Run 'ibmcloud ce buildrun logs -f -n mybuildrun' to follow the logs of the build run.
14121414
OK
14131415

14141416
Name: mybuildrun
@@ -2621,6 +2623,8 @@ ibmcloud ce jobrun get --name myjobrun
26212623
Getting jobrun 'myjobrun'...
26222624
Getting instances of jobrun 'myjobrun'...
26232625
Getting events of jobrun 'myjobrun'...
2626+
Run 'ibmcloud ce jobrun events -n myjobrun' to get the system events of the job run instances.
2627+
Run 'ibmcloud ce jobrun logs -f -n myjobrun' to follow the logs of the job run instances.
26242628
OK
26252629

26262630
Name: myjobrun

Diff for: configmap-secret.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: configmaps with code engine, secrets with code engine, key references with code engine, key-value pair with code engine, setting up secrets with code engine, setting up configmaps with code engine, configmaps, secrets, environment variables
88

@@ -836,6 +836,9 @@ The following example describes how to reference an existing secret with a job b
836836
Getting jobrun 'myjobrun'...
837837
Getting instances of jobrun 'myjobrun'...
838838
Getting events of jobrun 'myjobrun'...
839+
Run 'ibmcloud ce jobrun events -n myjobrun' to get the system events of the job run instances.
840+
Run 'ibmcloud ce jobrun logs -f -n myjobrun' to follow the logs of the job run instances.
841+
OK
839842
840843
Name: myjobrun
841844
[...]

Diff for: deploy-scale.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-09"
5+
lastupdated: "2021-09-16"
66

77
keywords: application scaling in code engine, scaling http requests in code engine, concurrency in code engine applications, latency in code engine applications, throughput in code engine applications, scaling, latency, concurrency, app
88

@@ -218,6 +218,7 @@ To observe application scaling from the {{site.data.keyword.codeengineshort}} CL
218218
**Example output**
219219
220220
```
221+
[...]
221222
OK
222223
223224
Name: myapp

Diff for: environment-vars.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: environment variables with code engine, environment variables, creating environment variables, working with environment variables, key-value pair
88

@@ -292,11 +292,7 @@ ibmcloud ce jobrun get --name myjobrun1
292292
**Example output**
293293
294294
```
295-
Getting jobrun 'myjobrun1'...
296-
Getting instances of jobrun 'myjobrun1'...
297-
Getting events of jobrun 'myjobrun1'...
298-
OK
299-
295+
[...]
300296
Name: myjobrun1
301297
[...]
302298
Job Ref: myjob

Diff for: job-access.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: jobs in code engine, batch jobs in code engine, running jobs with code engine, creating jobs with code engine, images for jobs in code engine, jobs, job run, environment variables
88

@@ -178,8 +178,7 @@ ibmcloud ce jobrun get --name testjobrun
178178
Getting jobrun 'testjobrun'...
179179
Getting instances of jobrun 'testjobrun'...
180180
Getting events of jobrun 'testjobrun'...
181-
OK
182-
181+
[...]
183182
Name: testjobrun
184183
ID: abcdefgh-abcd-abcd-abcd-1d733051eb02
185184
Project Name: myproject

Diff for: job-run.md

+46-48
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2021
5-
lastupdated: "2021-09-01"
5+
lastupdated: "2021-09-16"
66

77
keywords: jobs in code engine, batch jobs in code engine, running jobs with code engine, creating jobs with code engine, images for jobs in code engine, jobs, job run, environment variables
88

@@ -209,12 +209,14 @@ ibmcloud ce jobrun submit --name myhellojob-jobruna --image us.icr.io/mynamespac
209209
```
210210
{: pre}
211211

212-
Run the `jobrun get -n myhellojob-jobrun` command to check the job run status.
212+
Run the `jobrun get -n myhellojob-jobruna` command to check the job run status.
213213

214214
**Example output**
215215

216216
```
217-
Name: myapp
217+
[...]
218+
219+
Name: myhellojob-jobruna
218220
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
219221
Project Name: myproject
220222
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
@@ -298,59 +300,55 @@ Run the `jobrun get -n myhellojob-jobrunb` command to check the job run status.
298300
**Example output**
299301

300302
```
301-
Getting job run 'testjobrun'...
302-
Getting job 'myjob'...
303-
Rerunning job run 'myjob-jobrun-fji48'...
304-
Run 'ibmcloud ce jobrun get -n myjob-jobrun-fji48' to check the job run status.
303+
Getting jobrun 'myhellojob-jobrunb'...
304+
[...]
305305
306-
Name: myapp
307-
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
308-
Project Name: myproject
309-
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
310-
Age: 3m6s
311-
Created: 2021-06-04T11:56:22-04:00
306+
Name: myhellojob-jobrunb
307+
ID: abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
308+
Project Name: myproject
309+
Project ID: 01234567-abcd-abcd-abcd-abcdabcd1111
310+
Age: 3m6s
311+
Created: 2021-06-04T11:56:22-04:00
312312
313-
Image: us.icr.io/mynamespace/myhello_bld
314-
Resource Allocation:
315-
CPU: 1
316-
Ephemeral Storage: 400M
317-
Memory: 4G
318-
Registry Secrets:
319-
myregistry
313+
Image: us.icr.io/mynamespace/myhello_bld
314+
Resource Allocation:
315+
CPU: 1
316+
Ephemeral Storage: 400M
317+
Memory: 4G
318+
Registry Secrets:
319+
myregistry
320320
321-
Runtime:
322-
Array Indices: 1 - 5
323-
Max Execution Time: 7200
324-
Retry Limit: 3
321+
Runtime:
322+
Array Indices: 1 - 5
323+
Max Execution Time: 7200
324+
Retry Limit: 3
325325
326-
Status:
327-
Completed: 91s
328-
Instance Statuses:
329-
Succeeded: 5
330-
Conditions:
331-
Type Status Last Probe Last Transition
332-
Pending True 96s 96s
333-
Running True 92s 92s
334-
Complete True 91s 91s
335-
336-
Events:
337-
Type Reason Age Source Messages
338-
Normal Updated 93s (x7 over 97s) batch-job-controller Updated JobRun "myhellojob-jobrunb"
339-
Normal Completed 93s batch-job-controller JobRun completed successfully
340-
341-
Instances:
342-
Name Running Status Restarts Age
343-
myhellojob-jobrunb-1-0 0/1 Succeeded 0 97s
344-
myhellojob-jobrunb-2-0 0/1 Succeeded 0 97s
345-
myhellojob-jobrunb-3-0 0/1 Succeeded 0 97s
346-
myhellojob-jobrunb-4-0 0/1 Succeeded 0 97s
347-
myhellojob-jobrunb-5-0 0/1 Succeeded 0 97s
326+
Status:
327+
Completed: 91s
328+
Instance Statuses:
329+
Succeeded: 5
330+
Conditions:
331+
Type Status Last Probe Last Transition
332+
Pending True 96s 96s
333+
Running True 92s 92s
334+
Complete True 91s 91s
335+
336+
Events:
337+
Type Reason Age Source Messages
338+
Normal Updated 93s (x7 over 97s) batch-job-controller Updated JobRun "myhellojob-jobrunb"
339+
Normal Completed 93s batch-job-controller JobRun completed successfully
340+
341+
Instances:
342+
Name Running Status Restarts Age
343+
myhellojob-jobrunb-1-0 0/1 Succeeded 0 97s
344+
myhellojob-jobrunb-2-0 0/1 Succeeded 0 97s
345+
myhellojob-jobrunb-3-0 0/1 Succeeded 0 97s
346+
myhellojob-jobrunb-4-0 0/1 Succeeded 0 97s
347+
myhellojob-jobrunb-5-0 0/1 Succeeded 0 97s
348348
```
349349
{: screen}
350350

351351

352352
Job runs that are submitted (or resubmitted) with the CLI that do not reference a defined job configuration are not viewable from the console.
353353
{: note}
354354

355-
356-

0 commit comments

Comments
 (0)