diff --git a/docs/user-guide/connecting-applications.md b/docs/user-guide/connecting-applications.md index 5b55b94b1fb..c074e6f9376 100644 --- a/docs/user-guide/connecting-applications.md +++ b/docs/user-guide/connecting-applications.md @@ -333,7 +333,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 @@ -411,7 +411,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