Fixed command

This commit is contained in:
Jacob Tomlinson
2015-07-21 15:03:21 +01:00
parent fbc85e9838
commit 541e6d5538

View File

@@ -375,7 +375,7 @@ $ kubectl exec curlpod -- curl https://nginxsvc --cacert /etc/nginx/ssl/nginx.cr
For some parts of your applications you may want to expose a Service onto an external IP address. Kubernetes supports two ways of doing this: NodePorts and LoadBalancers. The Service created in the last section already used `NodePort`, so your nginx https replica is ready to serve traffic on the internet if your node has a public ip.
```console
$ kubeclt get svc nginxsvc -o json | grep -i nodeport -C 5
$ kubectl get svc nginxsvc -o json | grep -i nodeport -C 5
{
"name": "http",
"protocol": "TCP",