将容器从ACR部署到AKS [英] Deploying a container from ACR to AKS
问题描述
(很抱歉,如果这是错误的类别,那是我能找到的最接近AKS的东西)
(Apologies if this is the wrong category, it was the closest I could find to AKS)
我有一个容器,其中一个非常简单的Web应用程序已上传到Azure容器注册表.我创建了一个AKS集群.现在,我想将容器部署到AKS中.
I have a Container with a very simply Web App uploaded to an Azure Container Registry. I have an AKS cluster created. Now I want to deploy my container into AKS.
我已经找到了许多有关此的教程,但是它们似乎都是指很少或根本没有解释的YAML文件.
I've found a number of tutorials on this, but they all seem to refer to YAML files that have very little, or no, explanation.
因此,我有两个问题:
1.是否需要使用YAML文件来实现此目的(kubectl create -f myyaml.yml)? (如果没有,有什么替代方法)
1. Is it necassary to use a YAML file to achieve this (kubectl create -f myyaml.yml)? (If not, what are the alternatives)
2.是否有确切说明这些文件中需要什么以及与哪些命令兼容的文档(例如,我注意到种类:部署"似乎仅对"apiVersion:apps/v1beta1"有效)?
2. Is there any documentation for exactly what needs to be in these files, and what those commands are compatable with (for example, I've noticed that 'kind: Deployment' seems to only be valid with 'apiVersion: apps/v1beta1')?
谢谢.
推荐答案
StackOverflow ,因为我们有专门的SO团队来协助AKS查询.
I will suggest you post your query on StackOverflow as we have dedicated team on SO to assist on AKS queries.
这篇关于将容器从ACR部署到AKS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!