Deploying a container from ACR to AKS

前端 未结 1 758
无人及你
无人及你 2021-01-25 14:17

I have a Container with a very simple Web App uploaded to an Azure Container Registry. I have an AKS cluster created. Now I want to deploy my container into AKS.

I\'ve

相关标签:
1条回答
  • 2021-01-25 14:18

    A1. You should configure the deployments and services in the yaml file and apply it.

    A2. You can follow the steps that deploy the Web App in AKS from ACR through yam file. And the details in Deploy and use Azure Container Registry.

    Update

    A1. JSON and YAML formats are accepted. You can see this link. And maybe you also can do that through command and API, it's also for developers. But the configuration file is an easier way.

    A2. The things indeed are in according to what you need and what you to create. It's diffcult to say what are the things at least. If you really want to know the things at least. In my own opinion, the apiVersion and the image of the container are necessary if you just create the pod or others and don't interact with it. For more details, see Introduction to YAML: Creating a Kubernetes deployment. Maybe this link is also helpful.

    0 讨论(0)
提交回复
热议问题