Confusion over `local-openfaas` provider
See original GitHub issueHopefully I’m not the only one confused by this and we can get some clarification for everyone concerned.
The Docs refer to a “local-openfaas” provider much like it refers to a “local-kubernetes” provider: are we supposed to use the “local-openfaas” when running local developments/clusters?
I tried setting “local-openfaas” as my provider:
kind: Project
name: my-project
environments:
- name: local
providers:
- name: local-kubernetes
- name: local-openfaas
But I get an error “Cannot read property ‘install’ of undefined”; however when I use regular “openfaas” it runs.
I’m using an up-to-date Docker of Mac running K8s 1.14.8 with fresh reseted cluster/disk.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
can I define dockerfile myself? #757 - openfaas/faas - GitHub
Context. I need a docker image is based on ubuntu . can you help me ? ... Confusion over local-openfaas provider garden-io/garden#1358.
Read more >Medicare Advantage confusion creates headaches for providers
Confusion among Medicare beneficiaries leads to dissatisfaction, higher costs and administrative headaches for providers.
Read more >faq-providers-no-surprises-rules-april-2022.pdf - CMS
This document contains information on frequently asked questions from providers and facilities regarding No Surprises rules, independent dispute.
Read more >garden-io/garden v0.11.0 on GitHub - NewReleases.io
This command is no longer needed and its existence (and name) just caused confusion. Affected Users. Users that were calling the garden init...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the info @ozburo, that’s super helpful! I think your suggestion is the best approach. It would be nice to add support for pulling templates from other repos though. If that’d be useful, don’t hesitate to file a feature request!
Addendum:
Yes, the
lang
is based on the offically supported Openfaas templates!I/we can use the
lang: dockerfile
and use a Dockerfile for creating Openfaas functions that deviate from those official templates. So I can use that for myc
functions, fyi. If others are curious, I referenced this: can I define dockerfile myself?Not sure if there’s still any case for “creating Openfaas Templates” thru Garden, I’ll leave that for other more knowledge folks to dwel on 👍