sigs.k8s.io/cluster-api-provider-azure@v1.17.0/templates/addons/azure-cni-v1.yaml (about) 1 apiVersion: apps/v1 2 kind: DaemonSet 3 metadata: 4 labels: 5 app: azure-cni 6 name: azure-cni 7 namespace: kube-system 8 spec: 9 selector: 10 matchLabels: 11 k8s-app: azure-cni 12 template: 13 metadata: 14 annotations: 15 cluster-autoscaler.kubernetes.io/daemonset-pod: "true" 16 labels: 17 k8s-app: azure-cni 18 spec: 19 affinity: 20 nodeAffinity: 21 requiredDuringSchedulingIgnoredDuringExecution: 22 nodeSelectorTerms: 23 - matchExpressions: 24 - key: type 25 operator: NotIn 26 values: 27 - virtual-kubelet 28 - key: kubernetes.io/os 29 operator: In 30 values: 31 - linux 32 containers: 33 - image: mcr.microsoft.com/oss/kubernetes/pause:3.6 34 name: pause 35 hostNetwork: true 36 initContainers: 37 - args: 38 - deploy 39 - azure-vnet 40 - -o 41 - /opt/cni/bin/azure-vnet 42 - azure-vnet-ipam 43 - -o 44 - /opt/cni/bin/azure-vnet-ipam 45 - azure-vnet-telemetry 46 - -o 47 - /opt/cni/bin/azure-vnet-telemetry 48 - azure.conflist 49 - -o 50 - /etc/cni/net.d/10-azure.conflist 51 command: 52 - /dropgz 53 image: mcr.microsoft.com/containernetworking/azure-cni:v1.5.16 54 imagePullPolicy: Always 55 name: azure-cni 56 volumeMounts: 57 - mountPath: /opt/cni/bin 58 name: cni-bin 59 - mountPath: /etc/cni/net.d 60 name: cni-conflist 61 priorityClassName: system-node-critical 62 tolerations: 63 - key: CriticalAddonsOnly 64 operator: Exists 65 - effect: NoExecute 66 operator: Exists 67 - effect: NoSchedule 68 operator: Exists 69 volumes: 70 - hostPath: 71 path: /etc/cni/net.d 72 type: Directory 73 name: cni-conflist 74 - hostPath: 75 path: /opt/cni/bin 76 type: Directory 77 name: cni-bin