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

Any tutorial on out-of-process model? #7

Open
pswzyu opened this issue Apr 28, 2024 · 1 comment
Open

Any tutorial on out-of-process model? #7

pswzyu opened this issue Apr 28, 2024 · 1 comment

Comments

@pswzyu
Copy link

pswzyu commented Apr 28, 2024

Hi, since out-of-process model is recommended by azure function team, is there a plan to write sample project for out-of-process model?
Thanks!

@pswzyu
Copy link
Author

pswzyu commented Apr 28, 2024

update: out-of-process is same in terms of running azure function on AKS using workload identity.
what I did was adding this environments to the container and it worked.

env:
- name: FUNCTIONS_WORKER_RUNTIME
value: "dotnet-isolated"
- name: AzureWebJobsStorage__credential
value: "workloadidentity"
- name: AzureWebJobsStorage__accountname
value: ""

as long as your azure storage account is using default domain, you don't need the URIs settings.
Also, AzureWebJobsStorage__clientId does not seem to be required for Queue trigger at least, because AZURE_CLIENT_ID env var is populated automatically by AKS if you have azure.workload.identity/use: "true" and serviceAccount setting in YAML file.

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

1 participant