mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 16:23:26 +00:00
Remove non-async deployment option
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user