Skip to content

vitwit/faas-akash

Repository files navigation

faas-akash provider

version Build Status codecov Go Report CardGoDoc License: MIT

Contents

Requirements

  • Go 1.13+ (to build the provider plugin)
  • faas-cli
  • akash-cli (make sure to put akash-cli in your $PATH or /usr/local/bin)

Installation

  • Clone this repository and cd into the directory
  • Run make build, it will generate a file named faas-akash
  • run ./faas-akash and enjoy OpenFaas :handshaking: Akash Network

Provider Configuration

  • by default, faas-akash provider assumes a config.yaml to be present in $HOME/.faas-akash/
  • few fields can be set using this config file or environmental variables
Property Description Required
port OpenFaas Gateway Port No
readTimeout Request body ReadTimeout in seconds No
writeTimeout Request Body WriteTimeout in seconds No

Example

port: 8090
readTimeout: 180
writeTimeout: 180