We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edba512 commit 778e4c4Copy full SHA for 778e4c4
content/en/docs/tasks/job/job-with-pod-to-pod-communication.md
@@ -109,6 +109,7 @@ spec:
109
110
After applying the example above, reach each other over the network
111
using: `<pod-hostname>.<headless-service-name>`. You should see output similar to the following:
112
+
113
```shell
114
kubectl logs example-job-0-qws42
115
```
@@ -119,7 +120,7 @@ Successfully pinged pod: example-job-0.headless-svc
119
120
Successfully pinged pod: example-job-1.headless-svc
121
Successfully pinged pod: example-job-2.headless-svc
122
-```
123
124
{{<note>}}
125
Keep in mind that the `<pod-hostname>.<headless-service-name>` name format used
126
in this example would not work with DNS policy set to `None` or `Default`.
0 commit comments