Remove non-async deployment option

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2017-12-21 20:34:24 +00:00
parent 6906f4957a
commit 6199c61178
5 changed files with 49 additions and 27 deletions

View File

@ -39,22 +39,9 @@ You can also use asynchronous calls with a callback URL
<img width="1440" alt="screen shot 2017-10-26 at 15 55 06" src="https://user-images.githubusercontent.com/6358735/32060205-04545692-ba66-11e7-9e6d-b800a07b9bf5.png">
## Deploy the async stack
The reference implementation for asychronous processing uses NATS Streaming, but you are free to extend OpenFaaS and write your own [queue-worker](https://github.com/open-faas/nats-queue-worker).
Swarm:
```
$ ./deploy_extended.sh
```
K8s:
```
$ kubectl delete -f ./faas.yml
$ kubectl apply -f./faas.async.yml,nats.yml
```
> The asynchronous stack is now built-in by default. Previously it was an optional configuration.
## Call a function