Merge pull request #34399 from Rishit-dagli/Rishit-dagli-securing-service
Update command in "Connecting Applications with Services" and separate out a commandpull/35051/head
commit
640c963c3b
|
@ -315,8 +315,12 @@ kubectl delete deployments,svc my-nginx; kubectl create -f ./nginx-secure-app.ya
|
|||
At this point you can reach the nginx server from any node.
|
||||
|
||||
```shell
|
||||
kubectl get pods -o yaml | grep -i podip
|
||||
podIP: 10.244.3.5
|
||||
kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs
|
||||
POD_IP
|
||||
[map[ip:10.244.3.5]]
|
||||
```
|
||||
|
||||
```shell
|
||||
node $ curl -k https://10.244.3.5
|
||||
...
|
||||
<h1>Welcome to nginx!</h1>
|
||||
|
|
Loading…
Reference in New Issue