Skip to content

Commit b47d3d6

Browse files
author
cfsdocs
committed
Merge pull request #2217 from coligo/fmo-upd-26Jul22-b
1 parent 35ff81b commit b47d3d6

6 files changed

+15
-15
lines changed

add-registry.md

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

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-06-23"
5+
lastupdated: "2022-07-26"
66

77
keywords: registries, container registry, image registry, apikey, API key, access token, images, registry access, service id
88

@@ -137,10 +137,10 @@ Now that you created your API key, [save it as registry access](#add-registry-ac
137137
### Creating an API key with the CLI
138138
{: #access-registry-account-cli}
139139

140-
To create an {{site.data.keyword.cloud_notm}} IAM API key with the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI APIkey" and save it to a file called `key_file`, run the following command:
140+
To create an {{site.data.keyword.cloud_notm}} IAM API key with the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI API key" and save it to a file called `key_file`, run the following command:
141141

142142
```txt
143-
ibmcloud iam api-key-create cliapikey -d "My CLI APIkey" --file key_file
143+
ibmcloud iam api-key-create cliapikey -d "My CLI API key" --file key_file
144144
```
145145
{: pre}
146146

appdeploy-cr.md

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

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-05-17"
5+
lastupdated: "2022-07-26"
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

@@ -65,10 +65,10 @@ Before you begin
6565
* [Create and work with a project](/docs/codeengine?topic=codeengine-manage-project).
6666
* Before you can work with a {{site.data.keyword.codeengineshort}} application that references an image in {{site.data.keyword.registryshort}}, you must first add access to the registry so {{site.data.keyword.codeengineshort}} can pull the image when the app is deployed. For information about required permissions for accessing image registries, see [Setting up authorities for image registries](/docs/codeengine?topic=codeengine-add-registry#authorities-registry).
6767

68-
1. To add access to {{site.data.keyword.registryshort_notm}}, [create an IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key). To create an {{site.data.keyword.cloud_notm}} IAM API key with the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI APIkey" and save it to a file called `key_file`, run the following command:
68+
1. To add access to {{site.data.keyword.registryshort_notm}}, [create an IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key). To create an {{site.data.keyword.cloud_notm}} IAM API key with the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI API key" and save it to a file called `key_file`, run the following command:
6969

7070
```txt
71-
ibmcloud iam api-key-create cliapikey -d "My CLI APIkey" --file key_file
71+
ibmcloud iam api-key-create cliapikey -d "My CLI API key" --file key_file
7272
```
7373
{: pre}
7474

billing.md

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

33
copyright:
44
years: 2022
5-
lastupdated: "2022-03-19"
5+
lastupdated: "2022-07-26"
66

77
keywords: billing, pricing, costs for code engine, billing for code engine, job pricing, app pricing, build pricing
88

@@ -53,7 +53,7 @@ When you run a job, charges apply for the CPU and memory resources that are cons
5353
For example,
5454

5555
- If you create a job to process information from {{site.data.keyword.cos_full_notm}} with one job instance and that runs for an hour and uses `4` GB of memory, you are billed for `1` CPU hour and `4` GB hours.
56-
- If you scale the same job to `4` instances and then it completes in 15 minutes, you are charged for `4` vCPUs and `16` GBs for `.25` hours.
56+
- If you scale the same job to `4` instances and then it completes in 15 minutes, you are charged for `4` vCPU and `16` GB for `.25` hours.
5757

5858
For valid CPU and memory combinations, see [Supported memory and CPU combinations](/docs/codeengine?topic=codeengine-mem-cpu-combo).
5959

job-create-cr.md

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

33
copyright:
44
years: 2020, 2022
5-
lastupdated: "2022-05-17"
5+
lastupdated: "2022-07-26"
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

@@ -64,10 +64,10 @@ Before you begin
6464
* [Create and work with a project](/docs/codeengine?topic=codeengine-manage-project).
6565
* Before you can work with a {{site.data.keyword.codeengineshort}} job that references an image in {{site.data.keyword.registryshort}}, you must first add access to the registry so {{site.data.keyword.codeengineshort}} can pull the image when the job is run. For information about required permissions for accessing image registries, see [Setting up authorities for image registries](/docs/codeengine?topic=codeengine-add-registry#authorities-registry).
6666

67-
1. To add access to {{site.data.keyword.registryshort_notm}}, [create an IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key). To create an {{site.data.keyword.cloud_notm}} IAM API key from the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI APIkey" and save it to a file called `key_file`, run the following command:
67+
1. To add access to {{site.data.keyword.registryshort_notm}}, [create an IAM API key](/docs/codeengine?topic=codeengine-add-registry#images-your-account-api-key). To create an {{site.data.keyword.cloud_notm}} IAM API key from the CLI, run the [**`iam api-key-create`**](/docs/account?topic=cli-ibmcloud_commands_iam#ibmcloud_iam_api_key_create) command. For example, to create an API key called `cliapikey` with a description of "My CLI API key" and save it to a file called `key_file`, run the following command:
6868

6969
```txt
70-
ibmcloud iam api-key-create cliapikey -d "My CLI APIkey" --file key_file
70+
ibmcloud iam api-key-create cliapikey -d "My CLI API key" --file key_file
7171
```
7272
{: pre}
7373

job-plan.md

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

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

@@ -109,7 +109,7 @@ For more information, see [referencing secrets by using environment variables](/
109109

110110
Typically, jobs are designed to run one time and exit with a maximum execution time.
111111

112-
However, suppose that you want to run a process that constantly polls a third-party data store that does not have a push mechanism. You can choose to create an application; however, the app port must remain open to handle HTTP requests. Instead, you can choose to create a job that runs without a maximum execution time and does not time out.
112+
However, suppose that you want to constantly poll a third-party data store. You can choose to create an application; however, the app port must remain open to handle HTTP requests. Instead, if you don't want to service HTTP requests, you can choose to create a job that runs without a maximum execution time and does not time out.
113113

114114
With {{site.data.keyword.codeengineshort}}, you can choose the `mode` of your job. For jobs where a maximum execution time applies, use `mode=task` for your jobs. Failed instances are restarted per the job retries limit. This mode is the default behavior for jobs.
115115

migrate-cf-ce-tutorial.md

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

33
copyright:
44
years: 2022, 2022
5-
lastupdated: "2022-07-13"
5+
lastupdated: "2022-07-26"
66

77
keywords: code engine, tutorial, build, source, application, buildpack, access, build run, image, cloud foundry
88

@@ -183,7 +183,7 @@ And that's it. You now have an internet-facing application. The code in the appl
183183
Let's take a deeper look at the previous **`app create`** command. Notice that the output of the **`app create`** command provides information about the progression of the build run before the app is created and deployed.
184184

185185
1. {{site.data.keyword.codeengineshort}} receives a request to create an application from source code (instead of pulling directly from an image).
186-
2. {{site.data.keyword.codeengineshort}} checks for an IAM service ID and APIkey that is associated with the selected project. This service ID must be authorized to read and write to {{site.data.keyword.registrylong}}. If no service ID exists, {{site.data.keyword.codeengineshort}} creates one for you. Note that this service ID is used for subsequent {{site.data.keyword.codeengineshort}} build requests that are run from the same project.
186+
2. {{site.data.keyword.codeengineshort}} checks for an IAM service ID and API key that is associated with the selected project. This service ID must be authorized to read and write to {{site.data.keyword.registrylong}}. If no service ID exists, {{site.data.keyword.codeengineshort}} creates one for you. Note that this service ID is used for subsequent {{site.data.keyword.codeengineshort}} build requests that are run from the same project.
187187
3. This example builds code from a local source (`--build-source .`). The source code is packed into an archive file and uploaded to a managed namespace within the {{site.data.keyword.registrylong}} instance in your account. Note that you can target only {{site.data.keyword.registrylong}} for your local builds. For more information about IBM Container Registry, including information about quota limits and access, see [Getting started with IBM Cloud Container Registry](/docs/Registry?topic=Registry-getting-started).
188188
4. {{site.data.keyword.codeengineshort}} builds your source code into an image. The source image is created in the same namespace as your source archive file.
189189
5. After the build completes, your application is deployed. You can access your application from the provided URL.

0 commit comments

Comments
 (0)