faas-fargate

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 9 Imported by: 0

README

Mascot

faas-fargate

Run OpenFaaS on AWS serverless with Fargate.

Release Software License Travis


Installation

Terraform deployment

Easy to get started: A terraform module has been developed to build out a standard deployment of faas-fargate on fargate. See: https://github.com/ewilde/terraform-aws-openfaas-fargate. This module deploys the whole stack on Fargate including openfaas gateway, nats and sets up default security setting etc...

Manually

  1. Use the published docker image
  2. Download from the releases tab

Configuration

All configuration is managed using environment variables

Option Usage Default Required
subnet_ids Comma separated list of subnet ids used to place function subnets from default vpc no
security_group_id Id of the security group to assign functions. If using terraform-aws-openfaas-fargate this is the output variable service_security_group no
cluster_name Name of the AWS ECS cluster. openfaas no
assign_public_ip Whether or not to associate a public ip address with your function. DISABLED no
enable_function_readiness_probe Boolean - enable a readiness probe to test functions. true no
write_timeout HTTP timeout for writing a response body from your function (in seconds). 8 no
read_timeout HTTP timeout for reading the payload from the client caller (in seconds). 8 no
image_pull_policy Image pull policy for deployed functions (Always, IfNotPresent, Never) Always no
LOG_LEVEL Logging level either: trace, debug, info, warn, error, fatal, panic. info no
AWS_DEFAULT_REGION AWS region faas-fargate is running in. us-east-1 no

Overview

diagram of the openfaas on fargate architecture

Contributions

We welcome contributions! Please refer to our contributing guidelines for further information.

Releasing

Releases are made using goreleaser and use semver

Example release

Step 1 tag the release
git tag v0.5.7 -m "feat: Adds verify_ssl support to environment resource"
git push origin v0.5.7
Step 2 wait for travis build to complete

Travis will:

  1. build the release
  2. run tests
  3. push to docker
  4. create a github release on the releases tab

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
Package types contains definitions for public types
Package types contains definitions for public types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL