Skip to content

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

License

Notifications You must be signed in to change notification settings

neuroforgede/nf-faas-docker

 
 

Repository files navigation

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)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 95.9%
  • Dockerfile 1.8%
  • Makefile 1.4%
  • Shell 0.9%