Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change deploymentconfig to deployment (as it is). #55

Open
wants to merge 1 commit into
base: ocp-4.7
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions documentation/modules/ROOT/pages/parksmap-container-image.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ metadata:
labels:
app: parksmap
component: parksmap
deploymentconfig: parksmap
deployment: parksmap
pod-template-hash: 65c4f8b676
role: frontend
...............
Expand Down Expand Up @@ -313,7 +313,7 @@ spec:
targetPort: 8080
selector:
app: parksmap
deploymentconfig: parksmap
deployment: parksmap
sessionAffinity: None
type: ClusterIP
status:
Expand Down Expand Up @@ -360,13 +360,13 @@ Under the `metadata` section you should see the following:
----
labels:
app: parksmap
deploymentconfig: parksmap
deployment: parksmap
----

* The *Service* has `selector` stanza that refers to `deploymentconfig=parksmap`.
* The *Service* has `selector` stanza that refers to `deployment=parksmap`.
* The *Pod* has multiple *Labels*:
** `app=parksmap`
** `deploymentconfig=parksmap`
** `deployment=parksmap`

*Labels* are just key/value pairs. Any *Pod* in this *Project* that has a *Label* that
matches the *Selector* will be associated with the *Service*. To see this in
Expand All @@ -392,7 +392,7 @@ Labels: app=workshop
component=parksmap
role=frontend
Annotations: openshift.io/generated-by: OpenShiftWebConsole
Selector: app=parksmap,deploymentconfig=parksmap
Selector: app=parksmap,deployment=parksmap
Type: ClusterIP
IP: 172.30.22.209
Port: 8080-tcp 8080/TCP
Expand Down