File tree Expand file tree Collapse file tree
content/en/docs/tutorials/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ at the port exposed by this Service. Use `docker exec` to run the `curl` command
258258container 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
399400Use ` 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```
You can’t perform that action at this time.
0 commit comments