Skip to content

Commit ecf0ca5

Browse files
authored
fix(doc): revert changes for port to simplify command and force customer to inspect the output of previous command
1 parent 9dcc70e commit ecf0ca5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

content/en/docs/tutorials/security/seccomp.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ at the port exposed by this Service. Use `docker exec` to run the `curl` command
258258
container belonging to that control plane container:
259259

260260
```shell
261-
docker exec -it kind-control-plane curl localhost:$(kubectl get service audit-pod -ojsonpath='{.spec.ports[0].nodePort}')
261+
# Change 32373 to the port number you saw from "kubectl get service audit-pod"
262+
docker exec -it kind-control-plane curl localhost:32373
262263
```
263264

264265
```
@@ -399,7 +400,8 @@ fine-pod NodePort 10.111.36.142 <none> 5678:32373/TCP 72s
399400
Use `curl` to access that endpoint from inside the kind control plane container:
400401

401402
```shell
402-
docker exec -it kind-control-plane curl localhost:$(kubectl get service fine-pod -ojsonpath='{.spec.ports[0].nodePort}')
403+
# Change 32373 to the port number you saw from "kubectl get service fine-pod"
404+
docker exec -it kind-control-plane curl localhost:32373
403405
```
404406

405407
```

0 commit comments

Comments
 (0)