1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/serverless/develop/serverless-applications.adoc
2022-08-04 14:38:35 +00:00

50 lines
2.0 KiB
Plaintext

:_content-type: ASSEMBLY
[id="serverless-applications"]
= Serverless applications
include::_attributes/common-attributes.adoc[]
:context: serverless-applications
toc::[]
include::snippets/serverless-apps.adoc[]
You can create a serverless application by using one of the following methods:
* Create a Knative service from the {product-title} web console.
+
ifdef::openshift-enterprise[]
See xref:../../applications/creating_applications/odc-creating-applications-using-developer-perspective.adoc#odc-creating-applications-using-developer-perspective[Creating applications using the Developer perspective] for more information.
endif::[]
* Create a Knative service by using the Knative (`kn`) CLI.
* Create and apply a Knative `Service` object as a YAML file, by using the `oc` CLI.
// create service using CLI
include::modules/creating-serverless-apps-kn.adoc[leveloffset=+1]
// offline mode
include::modules/kn-service-offline-create.adoc[leveloffset=+1]
// create service using YAML
include::modules/creating-serverless-apps-yaml.adoc[leveloffset=+1]
include::modules/verifying-serverless-app-deployment.adoc[leveloffset=+1]
include::modules/interacting-serverless-apps-http2-gRPC.adoc[leveloffset=+1]
// OCP only
ifdef::openshift-enterprise[]
// Using Knative services w/ restrictive NetworkPolicies
include::modules/serverless-services-network-policies.adoc[leveloffset=+1]
endif::[]
// move to admin guide, outside scope of this PR
// config init containers
include::modules/serverless-init-containers-apps.adoc[leveloffset=+1]
// HTTPS redirection
include::modules/serverless-https-redirect-service.adoc[leveloffset=+1]
[id="additional-resources_serverless-applications"]
[role="_additional-resources"]
== Additional resources
* xref:../../serverless/cli_tools/kn-serving-ref.adoc#kn-serving-ref[Knative Serving CLI commands]
* xref:../../serverless/security/serverless-ossm-with-kourier-jwt.adoc#serverless-ossm-with-kourier-jwt[Configuring JSON Web Token authentication for Knative services]