<p>I am trying to create an Azure aks cluster using an centos image.</p>

<p>I have created an aks cluster with an ubuntu image.</p>

<p>Searched the internet and did not find anything to indicate that centos was an option.</p>

<pre><code>    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}"
           }
</code></pre>

Johnson
<p>No, you cannot control vm image used to create AKS. I think AKS-engine works with CoreOS. <a href="https://github.com/Azure/aks-engine/issues/541" rel="nofollow noreferrer">https://github.com/Azure/aks-engine/issues/541</a></p>
