diff --git a/website/docs/introduction/basics/services/index.md b/website/docs/introduction/basics/services/index.md index 6d240732cd..c328dda5c1 100644 --- a/website/docs/introduction/basics/services/index.md +++ b/website/docs/introduction/basics/services/index.md @@ -107,7 +107,7 @@ ui ClusterIP 172.20.83.84 80/TCP 15m View service endpoints (the actual pod IPs): ```bash -$ kubectl get endpoints -n ui ui +$ kubectl get endpointslices -n ui NAME ENDPOINTS AGE ui 10.42.1.15:8080 15m ``` @@ -202,7 +202,7 @@ $ kubectl scale deployment -n ui ui --replicas=3 **Watch how the service endpoints update:** ```bash -$ kubectl get endpoints -n ui ui +$ kubectl get endpointslices -n ui NAME ENDPOINTS AGE ui 10.42.117.212:8080,10.42.129.33:8080,10.42.174.4:8080 11m ``` diff --git a/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction/basics/services/index.md b/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction/basics/services/index.md index b896e30ec1..e3dfdab35e 100644 --- a/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction/basics/services/index.md +++ b/website/i18n/ja/docusaurus-plugin-content-docs/current/introduction/basics/services/index.md @@ -108,7 +108,7 @@ ui ClusterIP 172.20.83.84 80/TCP 15m Service のエンドポイント (実際の Pod IP) を表示します: ```bash -$ kubectl get endpoints -n ui ui +$ kubectl get endpointslices -n ui NAME ENDPOINTS AGE ui 10.42.1.15:8080 15m ``` @@ -203,7 +203,7 @@ $ kubectl scale deployment -n ui ui --replicas=3 **Service のエンドポイントがどのように更新されるかを確認します:** ```bash -$ kubectl get endpoints -n ui ui +$ kubectl get endpointslices -n ui NAME ENDPOINTS AGE ui 10.42.117.212:8080,10.42.129.33:8080,10.42.174.4:8080 11m ```