mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * rosa_learning/deploying_application_workshop/learning-deploying-application-deployment.adoc
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="learning-deploying-application-deployment-frontend-microservice_{context}"]
|
|
= Deploying the front-end microservice
|
|
|
|
[role="_abstract"]
|
|
The front-end deployment uses the Node.js front-end for the application and additional Kubernetes objects. Front-end deployment defines the following features:
|
|
|
|
* Persistent volume claim
|
|
* Deployment object
|
|
* Service
|
|
* Route
|
|
* ConfigMaps
|
|
* Secrets
|
|
|
|
.Procedure
|
|
* Deploy the application front-end and create the objects by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc apply -f https://raw.githubusercontent.com/openshift-cs/rosaworkshop/master/rosa-workshop/ostoy/yaml/ostoy-frontend-deployment.yaml
|
|
----
|
|
+
|
|
*For example*:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
persistentvolumeclaim/ostoy-pvc created
|
|
deployment.apps/ostoy-frontend created
|
|
service/ostoy-frontend-svc created
|
|
route.route.openshift.io/ostoy-route created
|
|
configmap/ostoy-configmap-env created
|
|
secret/ostoy-secret-env created
|
|
configmap/ostoy-configmap-files created
|
|
secret/ostoy-secret created
|
|
----
|
|
+
|
|
All objects should create successfully. |