Function Containers
Using the deployment strategy, function
, a user can tell Cycle they'd like to create a function type container.
The container instances exist on the servers they're deployed to. However, a user might think of this type of container as being more similar to a serverless function.
Invoking A Function Container
There are two main ways to invoke a function container:
- Connect a domain to the container and make a call to the domain.
- Use the scheduler API.
HTTP initiated functions require the V1 Load Balancer to be configured for the environment. The V1 load balancer is able to automatically interact with the scheduler to claim, spawn, and release function instances per request to the endpoint.
Function Configuration
Function containers have their own configuration options in the container configuration section.