Skip to content

Commit

Permalink
fix shell block
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvegamyhre committed Nov 30, 2022
1 parent edba512 commit 778e4c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ spec:
After applying the example above, reach each other over the network
using: `<pod-hostname>.<headless-service-name>`. You should see output similar to the following:

```shell
kubectl logs example-job-0-qws42
```
Expand All @@ -119,7 +120,7 @@ Successfully pinged pod: example-job-0.headless-svc
Successfully pinged pod: example-job-1.headless-svc
Successfully pinged pod: example-job-2.headless-svc
```
```
{{<note>}}
Keep in mind that the `<pod-hostname>.<headless-service-name>` name format used
in this example would not work with DNS policy set to `None` or `Default`.
Expand Down

0 comments on commit 778e4c4

Please sign in to comment.