Skip to content

Commit fde6659

Browse files
committed
updated grep with custom-columns=POD_IP:.status.podIPs
1 parent 694e4b7 commit fde6659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/services-networking/connect-applications-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ my-nginx-3800858182-kna2y 1/1 Running 0 13s 10.244.2.5
4545
Check your pods' IPs:
4646

4747
```shell
48-
kubectl get pods -l run=my-nginx -o yaml | grep podIP
48+
kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs
4949
podIP: 10.244.3.4
5050
podIP: 10.244.2.5
5151
```

0 commit comments

Comments
 (0)