Commit cf9b28f4 authored by Xueshan Feng's avatar Xueshan Feng

Merge branch 'edit_text' into 'master'

Remove a block of extra text and add select label for second app, docker-web

See merge request !1
parents 65786c1c 3231edb3
......@@ -253,11 +253,6 @@ $ kubectl get svc -l app=guestbook
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
frontend ClusterIP 10.105.182.163 <none> 80/TCP 54m
$ kubectl port-forward svc/frontend 8000:80
Forwarding from 127.0.0.1:8000 -> 80
Forwarding from [::1]:8000 -> 80
Handling connection for 8000
Handling connection for 8000
```
In this example the `frontend` service uses "ClusterIP" service type running on IP 10.105.182.163:80, which means
......@@ -336,7 +331,7 @@ f38e0067-3e8 docker-web_words replicated 5/5
Or if you want to use kubectl:
```console
$ kubectl get pods,svc
$ kubectl get pods,svc -l com.docker.stack.namespace=docker-web
NAME READY STATUS RESTARTS AGE
po/db-cc6d959d-t2j8l 1/1 Running 0 1m
po/web-bf8c55f48-56d2v 1/1 Running 0 1m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment