1

Windows Server コンテナーを Azure kubernetes クラスターに追加したいと考えています。現在、Azure Rest API を使用してクラスターを管理しています。しかし、次のエラーが表示されています。

{
  "code": "AzureCNIOnlyForWindows",
  "message": "Windows agent pools can only be added to AKS clusters using Azure-CNI."
}

{
  "location": "location1",
  "tags": {
    "tier": "production",
    "archv2": ""
  },
  "properties": {
    "kubernetesVersion": "",
    "dnsPrefix": "dnsprefix1",
    "agentPoolProfiles": [
      {
        "name": "nodepool1",
        "count": 3,
        "vmSize": "Standard_DS1_v2",
        "osType": "Linux"
      }
    ],
    "linuxProfile": {
      "adminUsername": "*******",
      "ssh": {
        "publicKeys": [
          {
            "keyData": "keydata"
          }
        ]
      }
    },
    "networkProfile": {
      "loadBalancerSku": "basic"
    },
    "windowsProfile": {
      "adminUsername": "********",
      "adminPassword": "************************"
    },
    "servicePrincipalProfile": {
      "clientId": "clientid",
      "secret": "secret"
    },
    "addonProfiles": {},
    "enableRBAC": true,
    "enablePodSecurityPolicy": true
  }
}

{
  "code": "AzureCNIOnlyForWindows",
  "message": "Windows agent pools can only be added to AKS clusters using Azure-CNI."
}
4

1 に答える 1