Skip to content

Commit 8faf2f0

Browse files
author
cfsdocs
committed
Merge pull request #2212 from coligo/fmo-upd-25Jul22-a
1 parent 7573243 commit 8faf2f0

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

Diff for: envvar-autoinject.md

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

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-03-19"
5+
lastupdated: "2022-07-25"
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

@@ -56,6 +56,7 @@ When you run a job, {{site.data.keyword.codeengineshort}} automatically injects
5656
| `HOME` | Your home directory that is running the job. | `HOME=/root` |
5757
| `HOSTNAME` | The name of instance that your app is deployed to. | `HOSTNAME=myjob-jobrun-6bgmg-0-0` |
5858
| `JOB_INDEX` | The index of a specific job run instance. | `JOB_INDEX=1` |
59+
| `JOB_MODE` | The mode for runs of a job. In `task` mode, jobs run for a maximum time and failed instances are retried per the job retries limit. In `daemon` mode, jobs run without a maximum time and failed instances are restarted indefinitely. | `JOB_MODE=task` |
5960
| `PATH` | The list of directories in which the system looks for executables. | `PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin` |
6061
| `PWD` | The current working directory. | `PWD=/` |
6162
{: caption="Automatically injected environment variables when deploying {{site.data.keyword.codeengineshort}} jobs"}

Diff for: limits.md

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

33
copyright:
44
years: 2022
5-
lastupdated: "2022-07-22"
5+
lastupdated: "2022-07-25"
66

77
keywords: limits for code engine, limitations for code engine, quotas for code engine, project quotas in code engine, app limits in code engine, job limits in code engine, limits, limitations, quotas
88

@@ -58,9 +58,9 @@ The following table lists the limits for jobs.
5858
| ---------------------------- | ------------------------ | ------------------------ |------------------------------------------- |
5959
| Array - Array indices | 0 | 9999999 | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
6060
| Array - Number of instances | 1 | 1000 | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
61-
| CPU | 1.0 | 12.0 N | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
62-
| Ephemeral storage | 400 M | 48N G | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
63-
| Memory | 4 G | 48N G | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
61+
| CPU | 1.0 | 12.0 | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
62+
| Ephemeral storage | 400 M | 48 G | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
63+
| Memory | 4 G | 48 G | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
6464
| Retries | 3 | 5 | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
6565
| Timeout | 7200 seconds (2 hours) | 43200 seconds (12 hours) | [Contact IBM support](/docs/get-support?topic=get-support-open-case&interface=ui) |
6666
{: caption="Job limits"}

Diff for: mem-cpu-combo.md

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

33
copyright:
44
years: 2022
5-
lastupdated: "2022-07-22"
5+
lastupdated: "2022-07-25"
66

77
keywords: applications in code engine, apps in code engine, job in code engine, memory and cpu combinations, memory in code engine, cpu in code engine, memory and CPU
88

@@ -30,10 +30,10 @@ See the following table for valid combinations of vCPU and memory.
3030
| \n 1 vCPU \n 2 GB | _**(default)**_ \n 1 vCPU \n 4 GB | \n 1 vCPU \n 8 GB |
3131
| 2 vCPU \n 4 GB | 2 vCPU \n 8 GB | 2 vCPU \n 16 GB |
3232
| 4 vCPU \n 8 GB | 4 vCPU \n 16 GB | 4 vCPU \n 32 GB |
33-
| 6 vCPU \n 12 GB | 6 vCPU \n 24 GB | 6N vCPU \n 48N GB |
33+
| 6 vCPU \n 12 GB | 6 vCPU \n 24 GB | 6 vCPU \n 48 GB |
3434
| 8 vCPU \n 16 GB | 8 vCPU \n 32 GB | |
35-
| 10N vCPU \n 20 GB | 10N vCPU \n 40 GB | |
36-
| 12N vCPU \n 24 GB | 12N vCPU \n 48 GB | |
35+
| 10 vCPU \n 20 GB | 10 vCPU \n 40 GB | |
36+
| 12 vCPU \n 24 GB | 12 vCPU \n 48 GB | |
3737
{: caption="Table 1. Valid vCPU and memory combinations" caption-side="top"}
3838

3939
Your existing apps and jobs might be using other memory and CPU combinations, and those will remain unaffected. However, these other combinations are not valid and only the valid combinations are supported. Therefore, any new apps or jobs as well as any changes to existing apps or jobs must comply with the list of valid choices.

0 commit comments

Comments
 (0)