Skip to content

Commit

Permalink
Fix old DeploymentConfig refs closes #192
Browse files Browse the repository at this point in the history
  • Loading branch information
blues-man committed Feb 19, 2021
1 parent c58f2f2 commit 96abc3a
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 13 deletions.
31 changes: 27 additions & 4 deletions workshop/content/nationalparks-dotnet.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,40 @@ image::images/nationalparks-import-from-git-url-builder-dotnet.png[Import from G
NOTE: All of these builder images shown are made available via *Templates* and
*ImageStreams*, which will be discussed in a later lab.

Scroll down to the *General* section. Select `workshop` as your application, and `nationalparks` as the name.
Scroll down to the *General* section. Select:

* *Application Name* : workshop
* *Name* : nationalparks


In *Resources* section, select *Deployment*.

Inside *Pipeline* section, check *Add pipeline* box. This will create a Tekton Pipeline for us that we will use after in the Pipeline modules.

TIP: Click "Show pipeline visualization" to preview the Pipeline inside Pipeline UI that we are going to use later on.

Expand the Labels section and add 3 labels:

- *__app__=workshop* (the name we will be giving to the app)
- *__component__=nationalparks* (the name of this deployment)
- *__role__=backend* (the role this component plays in the overall application)
The name of the Application group:

[source,role=copy]
----
app=workshop
----

Next the name of this deployment.

[source,role=copy]
----
component=nationalparks
----

And finally, the role this component plays in the overall application.

[source,role=copy]
----
role=backend
----

Now click the *Create* button.

Expand Down
2 changes: 1 addition & 1 deletion workshop/content/nationalparks-java.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Scroll down to the *General* section. Select:
* *Name* : nationalparks


In *Resources* section, select *Deployment Config*.
In *Resources* section, select *Deployment*.

Expand the Labels section and add 3 labels:

Expand Down
31 changes: 28 additions & 3 deletions workshop/content/nationalparks-javascript.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,40 @@ NOTE: All of these builder images shown are made available via *Templates* and

Scroll down to the *General* section. Select `workshop` as your application, and `nationalparks` as the name.

Scroll down to the *General* section. Select:

* *Application Name* : workshop
* *Name* : nationalparks


In *Resources* section, select *Deployment*.

Inside *Pipeline* section, check *Add pipeline* box. This will create a Tekton Pipeline for us that we will use after in the Pipeline modules.

TIP: Click "Show pipeline visualization" to preview the Pipeline inside Pipeline UI that we are going to use later on.

Expand the Labels section and add 3 labels:

- *__app__=workshop* (the name we will be giving to the app)
- *__component__=nationalparks* (the name of this deployment)
- *__role__=backend* (the role this component plays in the overall application)
The name of the Application group:

[source,role=copy]
----
app=workshop
----

Next the name of this deployment.

[source,role=copy]
----
component=nationalparks
----

And finally, the role this component plays in the overall application.

[source,role=copy]
----
role=backend
----

Now click the *Create* button.

Expand Down
31 changes: 27 additions & 4 deletions workshop/content/nationalparks-python.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,40 @@ image::images/nationalparks-import-from-git-url-builder-py.png[Import from Git]
NOTE: All of these builder images shown are made available via *Templates* and
*ImageStreams*, which will be discussed in a later lab.

Scroll down to the *General* section. Select `workshop` as your application, and `nationalparks` as the name.
Scroll down to the *General* section. Select:

* *Application Name* : workshop
* *Name* : nationalparks


In *Resources* section, select *Deployment*.

Inside *Pipeline* section, check *Add pipeline* box. This will create a Tekton Pipeline for us that we will use after in the Pipeline modules.

TIP: Click "Show pipeline visualization" to preview the Pipeline inside Pipeline UI that we are going to use later on.

Expand the Labels section and add 3 labels:

- *__app__=workshop* (the name we will be giving to the app)
- *__component__=nationalparks* (the name of this deployment)
- *__role__=backend* (the role this component plays in the overall application)
The name of the Application group:

[source,role=copy]
----
app=workshop
----

Next the name of this deployment.

[source,role=copy]
----
component=nationalparks
----

And finally, the role this component plays in the overall application.

[source,role=copy]
----
role=backend
----

Now click the *Create* button.

Expand Down
4 changes: 3 additions & 1 deletion workshop/content/parksmap-container-image.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ Your screen will end up looking something like this:

image::images/parksmap-image.png[Explore Project]

In *Runtime Icon* you can select the icon to use in OpenShift Topology View for the app. You can leave the default OpenShift icon, or since this Frontend is made with Spring boot, you can pick Spring boot icon if you want.
In *Runtime Icon* you can select the icon to use in OpenShift Topology View for the app. You can leave the default OpenShift icon, or select one from the list.

NOTE: The purpose of this exercise is to deploy a microservice from an agnostic existing container image (Frontend, this was made with Spring Boot). The specific programming language path you have chosen is described and implemented in the next microservice chapter (Backend).

Make sure to have the correct values in:

Expand Down

0 comments on commit 96abc3a

Please sign in to comment.