mirror of https://github.com/knative/docs.git
Update getting-started-knative-app.md
Fixing typo and formatting
This commit is contained in:
parent
0272320a8e
commit
096dda1144
|
@ -113,10 +113,11 @@ IP_ADDRESS created by Knative.
|
|||
`helloworld-go.default.example.com` with the domain returned in the previous
|
||||
step.
|
||||
|
||||
Note, if you use minikube or a baremetal cluster that has no external load balacner, `EXTERNAL-IP` field is shown as `<pending>`. You need to use `NodeIP` and `NodePort` as the following:
|
||||
```shell
|
||||
export IP_ADDRESS=$(kubectl get node -o 'jsonpath={.items[0].status.addresses[0].address}'):$(kubectl get svc knative-ingressgateway -n istio-system -o 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')
|
||||
```
|
||||
> Note, if you use minikube or a baremetal cluster that has no external load balancer,
|
||||
`EXTERNAL-IP` field is shown as `<pending>`. You need to use `NodeIP` and `NodePort`:
|
||||
```shell
|
||||
export IP_ADDRESS=$(kubectl get node -o 'jsonpath={.items[0].status.addresses[0].address}'):$(kubectl get svc knative-ingressgateway -n istio-system -o 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')
|
||||
```
|
||||
|
||||
If you deployed your own app, you may want to customize this curl
|
||||
request to interact with your application.
|
||||
|
|
Loading…
Reference in New Issue