From 75a0e41a99cd984b9deff17b7c589cfe65e277c4 Mon Sep 17 00:00:00 2001 From: chenhuan Date: Wed, 1 Aug 2018 09:48:39 +0800 Subject: [PATCH] fix the command output (#9695) I have verified on version v1.11 [root@huan40:~]$ kubectl version Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:53:20Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:43:26Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"} --- .../connect-applications-service.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/concepts/services-networking/connect-applications-service.md b/content/en/docs/concepts/services-networking/connect-applications-service.md index 30bee642b0dd3..0f22a568c62cf 100644 --- a/content/en/docs/concepts/services-networking/connect-applications-service.md +++ b/content/en/docs/concepts/services-networking/connect-applications-service.md @@ -83,8 +83,8 @@ Check your Service: ```shell $ kubectl get svc my-nginx -NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE -my-nginx 10.0.162.149 80/TCP 21s +NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE +my-nginx ClusterIP 10.0.162.149 80/TCP 21s ``` As mentioned previously, a Service is backed by a group of Pods. These Pods are @@ -173,8 +173,8 @@ Kubernetes offers a DNS cluster addon Service that automatically assigns dns nam ```shell $ kubectl get services kube-dns --namespace=kube-system -NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE -kube-dns 10.0.0.10 53/UDP,53/TCP 8m +NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE +kube-dns ClusterIP 10.0.0.10 53/UDP,53/TCP 8m ``` If it isn't running, you can [enable it](http://releases.k8s.io/{{< param "githubbranch" >}}/cluster/addons/dns/README.md#how-do-i-configure-it). @@ -341,8 +341,8 @@ Let's now recreate the Service to use a cloud load balancer, just change the `Ty ```shell $ kubectl edit svc my-nginx $ kubectl get svc my-nginx -NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE -my-nginx 10.0.162.149 162.222.184.144 80/TCP,81/TCP,82/TCP 21s +NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE +my-nginx ClusterIP 10.0.162.149 162.222.184.144 80/TCP,81/TCP,82/TCP 21s $ curl https:// -k ...