openfaas/openfaas-cloud

Suggestion: Admin dashboard

Open

#449 aberto em 6 de mai. de 2019

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)Go (222 forks)auto 404
area/uxenhancementhelp wanted

Métricas do repositório

Stars
 (770 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

There are a few things that are configured as environment variables in the different ofc components, a few of them are:

  • Branch to be used for building the functions
  • Docker registry to push images
  • Custom templates
  • Enable support for dockerfile templates
  • Scaling factors
  • Maybe hmac validation?

Expected Behaviour

Be able to change the settings of OFC without requiring to modify each of the components that provide that feature.

Current Behaviour

If I want to modify, for example, the build branch I need to edit the deployments of many functions and this type of editing can be tedious and error prone.

Possible Solution

Add a new component(maybe admin-dashboard?) to OFC that provides this features. I think we can do this in two different ways:

  • Modify each of the required deployments directly from this component(needs the appropriate roles for modifying this)
  • Re-deploy the affected functions using the gateway(like buildshiprun does it). In order to do this we would need to first get the definition of the function, modify the variables and re-deploy with those new values.

In my opinion the second solution is best since the gateway continues to be the "owner" of the state of the functions.

Guia do colaborador