Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.97k stars 306 forks source link

Support Windows containers in --network-plugin = none and then install Cilium CNI #2839

Open gkaleta opened 2 years ago

gkaleta commented 2 years ago

After you install a AKS cluster with --network-plugin == none, you cannot add a Windows nodepool due to ARM for nodepool does not accept any values except then the default options. This needs to be an option for BYO CNI.

ghost commented 2 years ago

Hi gkaleta, AKS bot here :wave: Thank you for posting on the AKS Repo, I'll do my best to get a kind human from the AKS team to assist you.

I might be just a bot, but I'm told my suggestions are normally quite good, as such: 1) If this case is urgent, please open a Support Request so that our 24/7 support team may help you faster. 2) Please abide by the AKS repo Guidelines and Code of Conduct. 3) If you're having an issue, could it be described on the AKS Troubleshooting guides or AKS Diagnostics? 4) Make sure your subscribed to the AKS Release Notes to keep up to date with all that's new on AKS. 5) Make sure there isn't a duplicate of this issue already reported. If there is, feel free to close this one and '+1' the existing issue. 6) If you have a question, do take a look at our AKS FAQ. We place the most common ones there!

ghost commented 2 years ago

Triage required from @Azure/aks-pm

ghost commented 2 years ago

Action required from @Azure/aks-pm

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

PixelRobots commented 2 years ago

When trying to add a window node pool you get this error via cli.

(WindowsProfileMissing) Windows profile definition is missing for the cluster.
Code: WindowsProfileMissing
Message: Windows profile definition is missing for the cluster.

When looking at the AKS JSON you do in fact see the windows profile missing.

When you try to create a new AKS cluster with Windows profile:

az aks create \
--resource-group rg-aks-byo-cni \
--name aks-byo-cni-win \
--node-count 1 \
--nodepool-name systemnp \
--node-vm-size Standard_DS2_v2 \
--node-resource-group rg-aks-byo-cni-nodes \
--generate-ssh-keys \
--network-plugin none \
--enable-cluster-autoscaler \
--min-count 1 \
--max-count 10 \
--zones 1 2 3 \
--windows-admin-username azureuser \
--windows-admin-password "P@ssW0rd"

You get the following error:

(AzureCNIOnlyForWindows) Windows agent pools can only be added to AKS clusters using Azure-CNI.
Code: AzureCNIOnlyForWindows
Message: Windows agent pools can only be added to AKS clusters using Azure-CNI.

Hopefully after preview this will be an option.

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

Issue needing attention of @Azure/aks-leads

ghost commented 2 years ago

@aanandr, @phealy would you be able to assist?

Issue Details
After you install a AKS cluster with --network-plugin == none, you cannot add a Windows nodepool due to ARM for nodepool does not accept any values except then the default options. This needs to be an option for BYO CNI.
Author: gkaleta
Assignees: -
Labels: `feature-request`, `networking/azcni`, `windows`
Milestone: -