openfaas / ofc-bootstrap

Bootstrap OpenFaaS Cloud for your team
https://docs.openfaas.com/openfaas-cloud/intro/
MIT License
179 stars 61 forks source link

More configuration in gateway_config #196

Open Waterdrips opened 4 years ago

Waterdrips commented 4 years ago

Expected Behaviour

There are some settings that we might want to change, such as RO Filesystem, min/max replicas for scaling etc in the gateway_config.yaml, can we make those configurable, with the current values as defaults.

Current Behaviour

https://github.com/openfaas-incubator/ofc-bootstrap/blob/master/templates/gateway_config.yml#L30 https://github.com/openfaas-incubator/ofc-bootstrap/blob/master/templates/gateway_config.yml#L31 https://github.com/openfaas-incubator/ofc-bootstrap/blob/master/templates/gateway_config.yml#L32

Possible Solution

add these as defaults to example.init.yaml, and make them read that default, so we can set custom settings per cluster.

alexellis commented 4 years ago

Discussed on a call, approved for implementation.

alexellis commented 4 years ago

You should also template buildshiprun limits: https://github.com/openfaas/openfaas-cloud/blob/master/buildshiprun_limits.yml

Waterdrips commented 4 years ago

check where else limits are set, see if we need to change anything else?

alexellis commented 4 years ago

Add:

Waterdrips commented 4 years ago

going to tackle this as part of moving to use the OFC Helm chart.