Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Update the OpenFaaS installation to only pull images if not present
Browse files Browse the repository at this point in the history
The bootstrap script installed OpenFaaS in a way that the images were
always pulled even if they existed on the node. This has been changed
to pull if they are not present to reduce cold-start times when the
functions are scaled down and up.

Signed-off-by: Alistair Hey <[email protected]>
  • Loading branch information
Waterdrips committed Oct 29, 2019
1 parent a37a6ca commit c8bdeba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install-openfaas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ helm upgrade openfaas --install openfaas/openfaas \
--set gateway.replicas=2 \
--set queueWorker.replicas=2 \
--set faasIdler.dryRun=$FAAS_IDLER_DRY_RUN \
--set faasnetes.httpProbe=true
--set faasnetes.httpProbe=true \
--set openfaasImagePullPolicy=IfNotPresent

0 comments on commit c8bdeba

Please sign in to comment.