Skip to content
Snippets Groups Projects
Commit 7be845cb authored by Alex Ellis's avatar Alex Ellis Committed by GitHub
Browse files

Update with additional blog link

parent 77043710
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ You can start evaluating FaaS and building functions on your laptop or on a VM (
* Clone the code
```
$ git clone https://github.com/alexellis/faas-netes
$ git clone https://github.com/openfaas/faas-netes
```
* Deploy the services
......@@ -42,7 +42,7 @@ There are currently no sample functions built into this stack, but we can deploy
**Use the CLI**
Follow the tutorial below, but change your gateway URL from localhost:8080 to kubernetes-node-ip:31112
Follow the tutorials below, but change your gateway URL from `localhost:8080` to `kubernetes-node-ip:31112`
i.e.
......@@ -52,9 +52,20 @@ provider:
gateway: http://192.168.4.95:31112
```
* Learn about the CLI
[Morning coffee with the OpenFaaS CLI](https://blog.alexellis.io/quickstart-openfaas-cli/)
* Build your first Python function
[Your first serverless Python function with OpenFaaS](https://blog.alexellis.io/first-faas-python-function/)
You can also deploy the samples from the [FaaS-cli](https://github.com/alexellis/faas-cli), but change the gateway address as above.
You can also deploy the samples from the [FaaS-cli](https://github.com/openfaas/faas-cli), but change the gateway address as above.
```
$ git clone https://github.com/openfaas/faas-cli && \
faas-cli deploy -f samples.yml
```
**Use the UI**
......@@ -70,3 +81,10 @@ Click "New Function" and fill it out with the following:
* Test the function
Your function will appear after a few seconds and you can click "Invoke"
You can also use the CLI like this:
```
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment