Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for enabling only HTTP or only non-HTTP functions #4412

Open
anthonychu opened this issue May 13, 2019 · 3 comments
Open

Comments

@anthonychu
Copy link
Member

What problem would the feature you're requesting solve? Please describe.

When deploying function apps containing HTTP and non-HTTP functions to Kubernetes running KEDA/Osiris, we need to split the app into 2 deployments. The Functions Core Tools figures out which functions need to be enabled/disabled in the HTTP and non-HTTP deployments and generates the correct environment variables. For instance:

env:
  - name: AzureFunctionsJobHost__functions__0
    value: QueueTrigger
  - name: AzureFunctionsJobHost__functions__1
    value: QueueTrigger1

This is difficult to do when manually creating deployment scripts for deploying function apps to the environment and also makes it difficult for the Core Tools to use helm for deployment.

Describe the solution you'd like

  • Add a way to enable only HTTP functions in a function app
  • Add a way to enable only non-HTTP functions in a function app

Describe alternatives you've considered

Manually creating the correct the environment variables in the deployment scripts, and making sure they stay in sync with the function app.

@pragnagopa
Copy link
Member

cc @ahmelsayed
Will transfer this to issue to Keda repo.

@pragnagopa
Copy link
Member

Closing in favor of kedacore/keda#213

@ahmelsayed ahmelsayed reopened this May 20, 2019
@pragnagopa pragnagopa added this to the Triaged milestone May 20, 2019
@pragnagopa
Copy link
Member

Triaged this issue. As of now, there is no support in the runtime to filter loading functions based on binding/trigger type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants