Skip to content

Commit cf2aa0e

Browse files
foverbyGitHub Enterprise
authored andcommitted
Merge pull request #482 from cloud-docs/next-publish-push
Next publish push
2 parents 6cd35d2 + bf96b05 commit cf2aa0e

15 files changed

+185
-96
lines changed

add-registry.md

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2024
5-
lastupdated: "2024-01-11"
5+
lastupdated: "2024-01-22"
66

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

@@ -184,22 +184,27 @@ To set up access to an {{site.data.keyword.registryfull_notm}} in a different {{
184184
### Adding registry access from the console
185185
{: #add-registry-access-ce-console}
186186

187-
To add {{site.data.keyword.registryfull_notm}} or Docker Hub access with the console,
187+
Before you begin, [create a project](/docs/codeengine?topic=codeengine-manage-project).
188188

189-
1. Go to the [{{site.data.keyword.codeengineshort}} dashboard](https://cloud.ibm.com/codeengine/overview).
190-
2. Select a project (or [create one](/docs/codeengine?topic=codeengine-manage-project#create-a-project)).
191-
3. From the project page, click **Registry access**.
192-
4. Click **Create**.
193-
5. Select **Docker Hub** or **Custom**.
194-
6. Enter a name for your registry access.
195-
7. Enter a server name for your registry. For {{site.data.keyword.registryshort}}, the server name is `<region>.icr.io`. For example, `us.icr.io`. For [Docker Hub](https://hub.docker.com/), the server name is `https://index.docker.io/v1/`.
196-
8. Enter a username. For {{site.data.keyword.registryfull_notm}}, it is `iamapikey`. For Docker Hub, it is your Docker ID.
197-
9. Enter the password. For {{site.data.keyword.registryfull_notm}}, the password is your API key. For Docker Hub, you can use your Docker Hub password or an [access token](#access-private-docker-hub).
198-
10. Click **Create**.
189+
1. After your project is in **Active** status, click the name of your project on the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
190+
2. From the Components page, click **Secrets and configmaps**.
191+
3. From the Secrets and configmaps page, click **Create** to create your secret.
192+
4. From the Create secret or configmap page, complete the following steps:
193+
1. Select **Registry secret**, and click **Next**.
194+
2. Provide a name; for example, `mysecret-registry`.
195+
3. Specify the target registry for this secret, such as {{site.data.keyword.registrylong_notm}} or Docker Hub.
196+
4. Specify the location of the registry.
197+
5. Specify a username. If this secret is for {{site.data.keyword.registrylong_notm}}, the username is `iamapikey`. If this secret is for Docker Hub, it is your Docker ID.
198+
6. Enter the credentials for the username. For {{site.data.keyword.registryfull_notm}}, use your IAM API key. For Docker Hub, you can use your Docker Hub password or an [access token](#access-private-docker-hub). For other target registries, specify the password or API key for the username.
199+
7. Click **Create** to create the secret.
199200

200-
You can add access to a container registry when you create an application or job, or when you build an image. Click **Configure image** and specify the container image to run, including the registry where the image is stored and the [registry access](/docs/codeengine?topic=codeengine-add-registry#types-registryaccesssecrets) to use to retrieve the image. Follow previous steps 5-9.
201+
Now that your secret is created from the console, go to the Secrets and configmaps page to view a list of defined secrets and configmaps. You can apply filters to customize the list to meet your needs.
202+
203+
You can add access to a container registry when you create an application or job, or when you build an image. Click **Configure image** and specify the container image to run, including the registry where the image is stored and the [registry access](/docs/codeengine?topic=codeengine-add-registry#types-registryaccesssecrets) to use to retrieve the image.
201204
{: tip}
202205

206+
207+
203208
### Adding registry access with the CLI
204209
{: #add-registry-access-ce-cli}
205210

app-probes.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22

33
copyright:
4-
years: 2022, 2023
5-
lastupdated: "2023-12-12"
4+
years: 2022, 2024
5+
lastupdated: "2024-01-17"
66

77
keywords: domain mapping, custom domain, 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, domain mappings, custom domain mappings, CNAME, TLS, TLS secret, private key, certificate
88

@@ -116,8 +116,8 @@ Before you begin
116116
1. From the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}, go to your project.
117117
2. [Create an application](/docs/codeengine?topic=codeengine-cli#cli-application-create). For example, create an application that is called `myapp` that uses the `icr.io/codeengine/helloworld` image. This image is available from the [Samples for {{site.data.keyword.codeenginefull_notm}} GitHub repo](https://github.com/IBM/CodeEngine/tree/main/cron){: external}. You can configure liveness and readiness probes when you create an application. Or, you can view and update settings for liveness and readiness probes when you update an application from the **Configuration** > **Image start options** tab on your application page.
118118
2. To view the configured probes and their properties for an app, go to the **Configuration** > **Image start options** tab on your application page.
119-
3. To modify or edit a readiness or liveness probe, click **Edit and create new revision**. Modifying a probe creates a new application revision. For example, edit the default readiness probe to change the connection type from TCP to HTTP, and set the path for the readiness probe to `/readinessprobe`. See [properties](#app-probes-properties) for more information about the probe properties. Click **Done** when finished.
120-
4. Click **Save and create** to save your change and deploy the app revision with the configured probe settings.
119+
3. Edit the liveness and readiness probe settings from the **Image start options** tab. Modifying a probe creates a new application revision. For example, edit the default readiness probe to change the connection type from TCP to HTTP, and set the path for the readiness probe to `/readinessprobe`. See [properties](#app-probes-properties) for more information about the probe properties. Click **Done** when finished.
120+
4. Click **Deploy** to save your change and deploy the app revision with the configured probe settings.
121121

122122
Use the view on the **Instances** tab to check the application instances.
123123
{: tip}
@@ -277,9 +277,9 @@ You can modify or edit a readiness or liveness probe in the console, from the **
277277
* Click the name of your project to open the Overview page.
278278
* Click **Applications** to open a list of your applications. Click the name of your application to open its application page.
279279
2. From the application page, click the **Configuration** > **Image start options** tab on your application page.
280-
3. To modify or edit a readiness or liveness probe, you must create a new application revision. Click **Edit and create new revision**. Click **Edit** to modify the readiness or liveness probe that you want to change.
280+
3. Edit the liveness and readiness probe settings from the **Image start options** tab. Modifying a probe creates a new application revision. Click **Edit** to modify the readiness or liveness probe that you want to change.
281281
4. From the **Readiness probe** page or the **Liveness probe** page, update the [properties](#app-probes-properties) of your probe. Click **Done** when finished.
282-
5. Click **Save and create** to save your change and deploy the app revision.
282+
5. Click **Deploy** to save your change and deploy the app revision with the configured probe settings.
283283

284284
Use the view on the **Instances** tab to check the application instances.
285285
{: tip}
@@ -394,11 +394,10 @@ From the console, you can remove a liveness probe from the **Configuration** > *
394394
* Locate the [{{site.data.keyword.codeengineshort}} Projects page](https://cloud.ibm.com/codeengine/projects){: external}.
395395
* Click the name of your project to open the Overview page.
396396
* Click **Applications** to open a list of your applications. Click the name of your application to open its application page.
397-
2. From the application page, click the **Configuration** > **Image start options** tab on your application page.
397+
2. From the application page, click the **Configuration** tab and then the **Image start options** tab on your application page.
398398
3. To remove a liveness probe, you must create a new application revision.
399-
1. Click **Edit and create new revision**.
400-
2. Click **Delete** to remove the liveness probe.
401-
3. Click **Save and create** to save your change and deploy the app revision.
399+
1. Click **Delete** to remove the liveness probe.
400+
2. Click **Deploy** to save your change and deploy the app revision.
402401
403402
While you cannot delete a readiness probe, you can [update](#app-probes-update-ui) it.
404403

app-scale.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
copyright:
44
years: 2020, 2024
5-
lastupdated: "2024-01-11"
5+
lastupdated: "2024-01-17"
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

@@ -354,12 +354,11 @@ The default value for the maximum number of instances for your app is `0`, which
354354
To change the range within which {{site.data.keyword.codeengineshort}} autoscales the number of running instances for an app from the console, follow these steps.
355355
356356
1. Navigate to your app.
357-
2. Select **Configuration**
358-
3. Click **Edit and create new revision**.
359-
4. Select **Runtime**.
357+
2. Select the **Configuration** tab.
358+
4. Select the **Resources & scaling** tab.
360359
5. Set the number for minimum and maximum instances for your app.
361360
6. (Optional) Review and set the request concurrency and timing settings for autoscaling your app.
362-
7. Click **Save and Create**.
361+
7. Click **Deploy** to save your changes and deploy the app revision.
363362
364363
When you update your application, your app creates a new revision and routes traffic to that instance.
365364

0 commit comments

Comments
 (0)