diff --git a/docs/user-guide/connecting-applications.md b/docs/user-guide/connecting-applications.md index 638fae40a50..d809c4a922c 100644 --- a/docs/user-guide/connecting-applications.md +++ b/docs/user-guide/connecting-applications.md @@ -332,7 +332,7 @@ Lets test this from a pod (the same secret is being reused for simplicity, the p ```console $ cat curlpod.yaml -vapiVersion: v1 +apiVersion: v1 kind: ReplicationController metadata: name: curlrc @@ -410,7 +410,7 @@ $ curl https://104.197.63.17:30645 -k Lets now recreate the Service to use a cloud load balancer, just change the `Type` of Service in the nginx-app.yaml from `NodePort` to `LoadBalancer`: ```console -$ kubectl delete rc, svc -l app=nginx +$ kubectl delete rc,svc -l app=nginx $ kubectl create -f ./nginx-app.yaml $ kubectl get svc nginxsvc NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE