neuroforgede / nf-faas-docker

An unofficial provider for Docker Swarm for OpenFaaS Community Edition (CE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork maintained by NeuroForge in Bayreuth, Germany.

nf-faas-docker

An unofficial provider for Docker Swarm for OpenFaaS Community Edition (CE)

This is based on the original Docker Swarm provider, but not a drop in replacement. It is actually incompatible with existing installations. Supports faas-provider SDK v0.19.1

Deployment code is at https://github.com/neuroforgede/nf-faas-docker-stack

Summary

This project adds support for Docker Swarm for usage in modern versions of OpenFaaS Community Edition (CE)

We do not aim to keep backwards support for existing deployments using faas-swarm. If you need help migrating, please reach out in the discussions.

Status

Status: Released

Features:

  • Create
  • Proxy
  • Update
  • Delete
  • List
  • Scale

Not Supported:

  • Namespaces - Docker Swarm does not have Namespaces. Instead deploy the OpenFaaS stack multiple times with different projects.

Additional Changes for sharing a single Swarm between multiple OpenFaaS instances:

  • Allow for multiple providers to run in the same swarm. Specified via NF_FAAS_DOCKER_PROJECT env var
  • prefix function name services with project name
  • prefix secret names with project name

Docker image builds can be found here.

Trademark notice

OpenFaaS® is a trademark of OpenFaaS Ltd. OpenFaaS ® is a registered trademark in England and Wales.

OpenFaaS Ltd. is not associated with this project. This projects is based off of MIT licensed code from https://github.com/openfaas/faas-swarm.

About

An unofficial provider for Docker Swarm for OpenFaaS Community Edition (CE)

License:MIT License


Languages

Language:Go 96.0%Language:Dockerfile 1.8%Language:Makefile 1.4%Language:Shell 0.9%