azure - 我可以使用 centos 镜像创建 Azure aks kubernetes 集群吗?

标签 azure kubernetes centos terraform-provider-azure

我正在尝试使用 centos 镜像创建 Azure aks 集群。

我已经使用 ubuntu 镜像创建了一个 aks 集群。

搜索了互联网,没有找到任何表明 centos 是一个选项的信息。

    resource "azurerm_kubernetes_cluster" "k8s" {
       name       = "${var.aks_name}"
       location   = "${data.azurerm_resource_group.rg.location}"
         dns_prefix = "${var.aks_dns_prefix}"

         resource_group_name =      "${data.azurerm_resource_group.rg.name}"

        linux_profile {
           admin_username = "${var.vm_user_name}"

            ssh_key {
            key_data = "${file(var.public_ssh_key_path)}"
             }
           }

      addon_profile {
         http_application_routing {
         enabled = false
          }
        }

      agent_pool_profile {
          name            = "agentpool"
          count           = "${var.aks_agent_count}"
          vm_size         = "${var.aks_agent_vm_size}"
          os_type         = "Linux"
          os_disk_size_gb = "${var.aks_agent_os_disk_size}"
          vnet_subnet_id  = "${data.azurerm_subnet.kubesubnet.id}"
           }

最佳答案

不,您无法控制用于创建 AKS 的虚拟机镜像。我认为 AKS 引擎可以与 CoreOS 配合使用。 https://github.com/Azure/aks-engine/issues/541

关于azure - 我可以使用 centos 镜像创建 Azure aks kubernetes 集群吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56045890/

相关文章:

azure - 将 Azure 数据工厂保存到 Git 时输入提交消息

Jenkinsfile - 在步骤中找不到这样的 DSL 方法 'properties'

Kubernetes 仪表板安装给出 x509 : certificate signed by unknown authority error

api - 来自 k8s 主节点的集群 IP 的连接受损/延迟

javascript - Express.io "Cannot read property of ' 未定义的过期”

php - 如何在所有具有 `in use` 表的数据库中进行搜索

dns - 阻止网络管理器更新 resolv.conf

python - 有没有办法将 azure Eventhub 检查点存储到远程存储桶(例如 Google 云存储桶)?

python-3.x - 使用 Python 将 Azure Blob 存储数据直接推送到 POST 请求中

javascript - 使用 $(function() { ... } 库的 HTML5 拖动事件