Forum Discussion
vivekk321
Apr 27, 2023Copper Contributor
Issue with deploying Docker container to Azure Kubernetes Service
Hi all,
I'm having trouble launching a Docker container to the Azure Kubernetes Service (AKS). I followed the documentation's instructions to generate a Dockerfile, push the image to Azure Container Registry, then construct a deployment file. However, when I use 'kubectl apply -f deployment.yaml' to deploy the container, I receive the following error:
'Error: unable to recognize "deployment.yaml": no matches for kind "Deployment" in version "apps/v1"'
I've double-checked that the API version and kind in my deployment file are correct, and I'm at a loss on what else to try. Is this a common issue, and do you have any advice for troubleshooting?
Thanks in advance for your help!
Best regards,
[Vivek Garg]
No RepliesBe the first to reply