diff --git a/README.md b/README.md index 9967482b9b4918cc73529f6142a80050d4e1948d..90ed68107eaaadc54ff5aa762c346ccb701d08b5 100644 --- a/README.md +++ b/README.md @@ -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 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