Skip to content

Update Azure CNI v1 nodeAffinity labels #1897

@nawazkh

Description

@nawazkh

What happened:
Applying Azure CNI v1 manifest (hosted in the repo at hack/manifests/cni-installer-v1.yaml) does not create the desired azure-cni daemonsets(DS).
I see the below status after applying the DS manifest.

NAMESPACE     NAME                         DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR              AGE
kube-system   azure-cni                    0         0         0       0            0           <none>                     2m10s

What you expected to happen:

  • azure-cni ds to be created.

How to reproduce it:

Orchestrator and Version (e.g. Kubernetes, Docker):

  • Kubernetes : v4.5.7
  • Docker : 20.10.23

Operating System (Linux/Windows):

  • Linux

Kernel (e.g. uanme -a for Linux or $(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion for Windows):

Anything else we need to know?:
[Miscellaneous information that will assist in solving the issue.]

        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: type
                operator: NotIn
                values:
                - virtual-kubelet
              - key: kubernetes.io/os
                operator: In
                values:
                - linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions