Skip to content
Snippets Groups Projects
Unverified Commit 67bda365 authored by Alex Ellis's avatar Alex Ellis Committed by GitHub
Browse files

Update for non-function based deployments

Fixes #551
parent 1e4b0e3c
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,12 @@ To override the Content-Type of all your responses set the `content_type` enviro
### I don't want to use the watchdog
This is an unsupported use-case for the OpenFaaS project however if your container exposes HTTP POST on port 8080 then the OpenFaaS API gateway and other tooling will manage your container.
This is an unsupported use-case for the OpenFaaS project however if your container conforms to the requirements below then the OpenFaaS API gateway and other tooling will manage and scale your service.
You will need to provide a lock-file at `/tmp/.lock` so that the orchestration system can run healthchecks on your container. If you are using Docker Swarm make sure you provide a `HEALTHCHECK` instruction in your Dockerfile - samples are given in the `faas` repository.
* Expose TCP port 8080 over HTTP
* Create `/tmp/.lock` or in whatever location responds to the OS tempdir syscall
### Tuning auto-scaling
......
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