Update content/en/docs/reference/networking/virtual-ips.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>
This commit is contained in:
Antonio Ojea 2023-04-04 13:18:08 +02:00 committed by GitHub
parent a4a4d453ec
commit dd44463621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -316,12 +316,17 @@ Users now will be able to inspect the IP addresses assigned to their Services, a
new network APIs, like Gateway API, can use this new object to extend the Kubernetes
networking capabilities overcoming the limitations of current Services API.
```bash
$ kubectl get services
```shell
kubectl get services
```
```
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 2001:db8:1:2::1 <none> 443/TCP 3d1h
$ kubectl get ipaddresses
```
```shell
kubectl get ipaddresses
```
```
NAME PARENTREF
2001:db8:1:2::1 services/default/kubernetes
2001:db8:1:2::a services/kube-system/kube-dns