AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[BUG] csi-local-manager Azure Container Storage deployment isn't affinitied to Linux OS

Open cailyoung opened this issue 6 months ago • 5 comments

Describe the bug In an AKS cluster with Windows nodes, the csi-local-manager Deployment of Azure Container Storage can be scheduled on Windows nodes, and it then fails to pull.

To Reproduce Steps to reproduce the behavior:

  1. Have one linux and one Windows node
  2. Install Azure Container Storage latest version

Expected behavior The components are scheduled only on nodes capable of running them.

Screenshots If applicable, add screenshots to help explain your problem. Make sure not to include sensitive or personal information.

Environment (please complete the following information):

  • Kubernetes version 1.35.4
  • CLI Extension version acstor 2.1.0

Additional context Installed with Terraform using the extension resource.

Podspec:

    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: app.kubernetes.io/component
                  operator: In
                  values:
                  - webhook
              topologyKey: kubernetes.io/hostname
            weight: 100

cailyoung avatar Jun 02 '26 06:06 cailyoung

This is still a bug.

cailyoung avatar Jul 17 '26 03:07 cailyoung

@AllenWen-at-Azure are you able to reopen?

cailyoung avatar Jul 20 '26 23:07 cailyoung

@saurabh0501 can you please drive on this? Thanks.

fhryo-msft avatar Jul 23 '26 08:07 fhryo-msft

@cailyoung this issue has been addressed in Azure Container Storage v2.2.0. When you have a chance, please try the latest release and let us know if you encounter any further issues or have any feedback. Thank you! Tagging @Azure/aks-storage for visibility.

saurabh0501 avatar Jul 27 '26 20:07 saurabh0501

@saurabh0501 I can see our clusters upgraded and the new affinity looks perfect. Thanks!

cailyoung avatar Jul 29 '26 03:07 cailyoung