Azure / Azure/azure-functions-core-tools
Deploying python func to AKS via Github Actions stuck on func kubernetes deploy step
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
Hi,
I was trying to deploy a python function to AKS via github action (ubuntu runner) and although I can build and upload a new docker image to ACR via docker/build-push-action, it remains stuck in the func kubernetes deploy step for over an hour.
I tried below three variations but result is the same -
1. func kubernetes deploy --name myazfunctiontest --build remote --registry ACRName.azurecr.io --namespace NamespaceName
2. func kubernetes deploy --name myazfunctiontest --registry ACRName.azurecr.io --namespace NamespaceName
3. func kubernetes deploy --name myazfunctiontest --image-name ACRName.azurecr.io/RepoName/FunctionName:IMG_TAG --namespace NamespaceName
Any insight into what could be going wrong or any logging that can be enabled? I don't see any logs from the func tool.
Thanks,
Kiran
Contributor guide
Research direction
Start by reproducing the GitHub Actions deployment using the three listed `func kubernetes deploy` commands, with the existing AKS, ACR, namespace, and image details. Investigate the `func kubernetes deploy` step and determine which logging or command output identifies the hang; done means documenting the cause and a working deployment or actionable diagnostic guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, docker, github-actions, kubernetes, python
- Domain
- cli, cloud, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100