Open jithsc opened 6 months ago
@jithsc Troubleshooting the Azure functions may not be straight-forward, since it doesn't show any proper logs. We tried to troubleshoot the issues by stepping inside the Docker container using the below steps: https://github.com/Azure/azure-functions-docker/issues/987#issuecomment-1846724440
Team,
I have an issue with Python Function App Deployment to AKS, after the deployment to AKS the pod is not running. While checking the container logs we have seen the runtime error as : exec /opt/startup/start_nonappservice.sh exec format error.
Here is my docker file :
FROM mcr.microsoft.com/azure-functions/python:4-python3.10 WORKDIR /home/site/wwwroot COPY packagefolder/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY packagefolder/ . ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHostLoggingConsole__IsEnabled=true EXPOSE 8000
Here is my Platform Details :
AKS Version 1.29.4 VMSS SKU Standard_D2pds_v5 Node Architecture : ARM64 OS : Ubuntu Python Version : 3.10
Kindly Advise.