Skip to content

Commit 778e4c4

Browse files
fix shell block
1 parent edba512 commit 778e4c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/en/docs/tasks/job/job-with-pod-to-pod-communication.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ spec:
109109
110110
After applying the example above, reach each other over the network
111111
using: `<pod-hostname>.<headless-service-name>`. You should see output similar to the following:
112+
112113
```shell
113114
kubectl logs example-job-0-qws42
114115
```
@@ -119,7 +120,7 @@ Successfully pinged pod: example-job-0.headless-svc
119120
Successfully pinged pod: example-job-1.headless-svc
120121
Successfully pinged pod: example-job-2.headless-svc
121122
```
122-
```
123+
123124
{{<note>}}
124125
Keep in mind that the `<pod-hostname>.<headless-service-name>` name format used
125126
in this example would not work with DNS policy set to `None` or `Default`.

0 commit comments

Comments
 (0)