Skip to content

Commit d96f8de

Browse files
authored
Merge pull request #14311 from mburke5678/BZ-1691863
Incorrect explanation in point 5 at POD Object Definition (YAML)
2 parents 875bf03 + 5acb0c2 commit d96f8de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/nodes-pods-using-example.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ spec:
5353
drop:
5454
- MKNOD
5555
procMount: Default
56-
ports: <5>
56+
ports:
5757
- containerPort: 8080
5858
protocol: TCP
5959
imagePullPolicy: Always
60-
volumeMounts: <6>
60+
volumeMounts: <5>
6161
- name: default-token-wbqsl
6262
readOnly: true
6363
mountPath: /var/run/secrets/kubernetes.io/serviceaccount
6464
terminationMessagePolicy: File
65-
image: openshift/hello-openshift
65+
image: quay.io/openshift/origin-logging-eventrouter:latest <6>
6666
serviceAccount: default <7>
6767
volumes: <8>
6868
- name: default-token-wbqsl
@@ -118,11 +118,11 @@ privileged Containers, run as a user of their choice, and more. The default cont
118118
but administrators can modify this as needed.
119119
<4> `*containers*` specifies an array of Container definitions; in this case (as
120120
with most), just one.
121-
<5> Each Container in the pod is instantiated from its own Container image.
122-
<6> The Container specifies where external storage volumes should be mounted
121+
<5> The Container specifies where external storage volumes should be mounted
123122
within the Container. In this case, there is a volume for storing the registry's
124123
data, and one for access to credentials the registry needs for making requests
125124
against the {product-title} API.
125+
<6> Each Container in the pod is instantiated from its own Container image.
126126
<7> Pods making requests against the {product-title} API is a common enough pattern
127127
that there is a `*serviceAccount*` field for specifying which service account user the pod should
128128
authenticate as when making the requests. This enables fine-grained access

0 commit comments

Comments
 (0)