AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[BUG] Azure Container Storage - No Way to Set Tolerations on Daemonset

Open richshadman opened this issue 6 months ago • 3 comments

Describe the bug I have recently started a POC for my company using elastic san storage to back a sql server container in AKS. After installing the feature following the instructions (https://learn.microsoft.com/en-us/azure/storage/container-storage/install-container-storage-aks?pivots=azurecli#install-azure-container-storage-on-an-existing-aks-cluster), I noticed it only came up on the system node pool. After digging in I realized it was because the daemonset has no tolerations set up, and all of our non system node pools have taints.

I thoroughly researched the issue and found no options to set this up with the installation process so I ultimately edited the daemonset myself to add the tolerations below:

     tolerations:
      - effect: NoSchedule
        operator: Exists
      - key: CriticalAddonsOnly
        operator: Exists
      - effect: NoExecute
        operator: Exists

Once I did this the daemonset came up as expected on all the user nodes.

Optional: Set the appropriate GitHub label(s) to indicate the AKS feature or area you believe your bug relates to.

#storage

To Reproduce

  1. Create a cluster
  2. create a nodepool with taints
  3. install azure container storage
  4. It will only come up on system nodes

Expected behavior The daemonset should have the above tolerations by default OR at least the installation process should allow for configuring them.

Screenshots N/A

Environment (please complete the following information):

  • CLI Version [e.g. 3.22] 2.86
  • Kubernetes version [e.g. 1.24.3] 1.35.4
  • CLI Extension version [e.g. 1.7.5] if applicable
  • Browser [e.g. chrome, safari] is applicable

Additional context Container Storage version: 2.1.0

I am not entirely sure this is the correct repo to report the issue? There is not obvious link here from the azure docs repo for this feature/extension. Likewise, I could not find appropriate labels to add to the ticket.

richshadman avatar May 26 '26 19:05 richshadman

/fresh

richshadman avatar Jul 01 '26 16:07 richshadman

tagging @Azure/aks-storage for looking into it.

saurabh0501 avatar Jul 27 '26 20:07 saurabh0501

Hi @richshadman ,

Thank you for the detailed information. We've since fixed this, and the upcoming patch version of Azure Container Storage (v2.2.1) will have the daemonset shipped with default tolerations, so it schedules on noschedule/noexecute tainted nodes out of the box. Thanks again for flagging this.

rnhan avatar Jul 31 '26 20:07 rnhan