Skip to content

Commit 4121394

Browse files
authored
Merge pull request #37990 from abrennan89/RHDEVDOCS-3427-2
RHDEVDOCS-3427: Updates for Serverless Deployments on ODC
2 parents 1071f36 + b6bdf21 commit 4121394

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

modules/odc-importing-codebase-from-git-to-create-application.adoc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,18 @@ The resource name must be unique in a namespace. Modify the resource name if you
3737

3838
* *Deployment*, to create an application in plain Kubernetes style.
3939
* *Deployment Config*, to create an {product-title} style application.
40-
* *Knative Service*, to create a microservice.
40+
* *Serverless Deployment*, to create a Knative service.
4141

4242
+
4343
[NOTE]
4444
====
45-
The *Knative Service* option is displayed in the *Import from git* form only if the *Serverless Operator* is installed in your cluster. For further details refer to documentation on installing OpenShift Serverless.
45+
The *Serverless Deployment* option is displayed in the *Import from git* form only if the {ServerlessOperatorName} is installed in your cluster. For further details, refer to the {ServerlessProductName} documentation.
4646
====
47+
4748
. In the *Pipelines* section, select *Add Pipeline*, and then click *Show Pipeline Visualization* to see the pipeline for the application.
49+
4850
. In the *Advanced Options* section, the *Create a route to the application* is selected by default so that you can access your application using a publicly available URL. You can clear the check box if you do not want to expose your application on a public route.
51+
4952
. Optional: You can use the following advanced options to further customize your application:
5053

5154
Routing::
@@ -57,6 +60,13 @@ Click the *Routing* link to:
5760
+
5861
For serverless applications, the Knative service manages all the routing options above. However, you can customize the target port for traffic, if required. If the target port is not specified, the default port of `8080` is used.
5962

63+
Domain mapping::
64+
If you are creating a *Serverless Deployment*, you can add a custom domain mapping to the Knative service during creation.
65+
+
66+
* In the *Advanced options* section, click *Show advanced Routing options*.
67+
** If the domain mapping CR that you want to map to the service already exists, you can select it from the *Domain mapping* drop-down menu.
68+
** If you want to create a new domain mapping CR, type the domain name into the box, and select the *Create* option. For example, if you type in `example.com`, the *Create* option is *Create "example.com"*.
69+
6070
Health Checks::
6171
Click the *Health Checks* link to add Readiness, Liveness, and Startup probes to your application. All the probes have prepopulated default data; you can add the probes with the default data or customize it as required.
6272
+

0 commit comments

Comments
 (0)