This release includes multiple namespace support, so that you can organise your functions in separate logical containerd namespaces. Pass the --namespace
with the CLI to make use of namespaces.
Custom namespaces need to be created before they can be used:
sudo ctr namespace create dev
sudo ctr namespace label dev openfaas=true
It also makes it possible for functions to discover core services such as NATS or the gateway by their name, i.e. http://gateway:8080
. The same goes for any additional stateful services added to docker-compose.yaml
Migration and impact of upgrades:
Upon start-up, a migration will be run to move secrets hosted at /var/lib/faasd-provider/secrets/
to /var/lib/faasd-provider/secrets/openfaas-fn
.
The default (implicit) namespace is: openfaas-fn
. If any of your functions make use of secrets, then you will have to redeploy them after it starts, or run: cp /var/lib/faasd-provider/secrets/openfaas-fn/* /var/lib/faasd-provider/secrets/
to restore them. See #201
Changelog for 0.14.0:
- PR #172 Add pacman to the install script by @jjnp
- PR #196 Enable multi namespace support by @nitishkumar71
- PR #199 Resolve core services in functions by @Shikachuu
- PR #194 Update terraform scripts to latest version by @dirien
Commits
e76d0d3 Add pacman to the install script by Jacob Palecek
dec02f3 Enable multi namespace support by @nitishkumar71
73c7349 Refactor hosts_dir lookup by @alexellis
b8ada0d Changed default and fallback host_dir by @Shikachuu
5ac5166 Added default value in case of missing env-var by @Shikachuu
1e9d8ff Updated the env-var usage, as requested from the review of alexellis on the previous PR by utsavanand2 by @Shikachuu
57322c4 Update terraform scripts to latest version by @dirien
6b840f0 Upgrade scripts for faasd 0.13.0 by @alexellis
Generated by Derek