question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confusion over `local-openfaas` provider

See original GitHub issue

Hopefully 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:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
edvaldcommented, Nov 29, 2019

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!

0reactions
ozburocommented, Nov 24, 2019

Addendum:

  1. Yes, the lang is based on the offically supported Openfaas templates!

  2. 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 my c 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 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found