You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/odc-importing-codebase-from-git-to-create-application.adoc
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,15 +37,18 @@ The resource name must be unique in a namespace. Modify the resource name if you
37
37
38
38
* *Deployment*, to create an application in plain Kubernetes style.
39
39
* *Deployment Config*, to create an {product-title} style application.
40
-
* *Knative Service*, to create a microservice.
40
+
* *Serverless Deployment*, to create a Knative service.
41
41
42
42
+
43
43
[NOTE]
44
44
====
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.
46
46
====
47
+
47
48
. In the *Pipelines* section, select *Add Pipeline*, and then click *Show Pipeline Visualization* to see the pipeline for the application.
49
+
48
50
. 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
+
49
52
. Optional: You can use the following advanced options to further customize your application:
50
53
51
54
Routing::
@@ -57,6 +60,13 @@ Click the *Routing* link to:
57
60
+
58
61
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.
59
62
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
+
60
70
Health Checks::
61
71
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.
0 commit comments