Nomad
Faasd
@hashicorp
Faasd is OpenFaaS reimagined, but without the cost and complexity of Kubernetes.
- Community
- Pack
Updated 2 years ago
- GitHub(opens in new tab)
Faasd
This pack contains all you need to deploy faasd (version 2 by default) in Nomad. It uses Docker driver.
Variables
job_name
(string) - The name to use as the job name which overrides using the pack name.region
(string) - The region where jobs will be deployed.datacenters
(list of strings) - A list of datacenters in the region which are eligible for task placement.namespace
(string) - The namespace where the job should be placed.constraints
(string) - Constraints to apply to the entire job.nats_image_name
(string) - The Nats docker image nameauth_plugin_image_name
(string) - The Authentication docker image namegateway_image_name
(string) - The Gateway docker image namequeue_worker_image_name
(string) - The Queue Worker docker image namefaasd_version
(string) - The Faasd version numbernats_image_tag
(string) - The Nats docker image tagauth_plugin_image_tag
(string) - The Authentication docker image taggateway_image_tag
(string) - The Gateway docker image tagqueue_worker_image_tag
(string) - The Queue Worker docker image tagfaasd_provider_task_resources
(object, number number) - Resources used by Faasd tasknats_task_resources
(object, number number) - Resources used by Nats taskbasic_auth_task_resources
(object, number number) - Resources used by Authentication taskgateway_task_resources
(object, number number) - Resources used by Gateway taskqueue_worker_task_resources
(object, number number) - Resources used by Queue Worker taskregister_auth_consul_service
(bool) - If you want to register a consul service for the Authentication taskregister_nats_consul_service
(bool) - If you want to register a consul service for the Nats taskregister_gateway_consul_service
(bool) - If you want to register a consul service for the Gateway taskregister_provider_consul_service
bool() - If you want to register a consul service for the Faasd provider taskauth_consul_service_name
(string) - The consul service name for the Authentication taskprovider_consul_service_name
(string) - The consul service name for the Faasd provider tasknats_consul_service_name
(string) - The consul service name for the Nats taskgateway_consul_service_name
(string) - The consul service name for the Gateway taskconsul_service_tags
(list of strings) - The consul service name for the Faasd applicationdns_servers
(list of strings) - To add custom dns serversbasic_auth_user
(string) - The authentication usernamebasic_auth_password
(string) - The authentication passworddocker_faasd_env_vars
(map of strings) - Environment variables to pass to Docker container
faasd Environment Variables
You can pass the right environment variables to faasd.
An example of the docker_faasd_env_vars
to use is in the vars.nomad
file.