diff --git a/npm/azure-npm.yaml b/npm/azure-npm.yaml index ad3efae8d8..59efff67ce 100644 --- a/npm/azure-npm.yaml +++ b/npm/azure-npm.yaml @@ -79,7 +79,7 @@ spec: operator: Exists containers: - name: azure-npm - image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.28 + image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.29 resources: limits: cpu: 250m @@ -106,6 +106,8 @@ spec: - name: azure-npm-config mountPath: /etc/azure-npm hostNetwork: true + nodeSelector: + kubernetes.io/os: linux volumes: - name: log hostPath: diff --git a/npm/examples/windows/azure-npm.yaml b/npm/examples/windows/azure-npm.yaml index d892e95bb8..458dc22734 100644 --- a/npm/examples/windows/azure-npm.yaml +++ b/npm/examples/windows/azure-npm.yaml @@ -52,7 +52,7 @@ roleRef: apiVersion: apps/v1 kind: DaemonSet metadata: - name: azure-npm + name: azure-npm-win namespace: kube-system labels: app: azure-npm @@ -83,7 +83,7 @@ spec: hostNetwork: true containers: - name: azure-npm - image: acnpublic.azurecr.io/azure-npm:v26-windows-amd64 + image: mcr.microsoft.com/containernetworking/azure-npm:v1.4.29 command: ["powershell.exe"] args: ['.\setkubeconfigpath.ps1', ';', 'powershell.exe', '.\npm.exe', "start", '--kubeconfig=.\kubeconfig'] resources: @@ -141,7 +141,7 @@ data: "EnablePprof": true, "EnableHTTPDebugAPI": true, "EnableV2NPM": true, - "PlaceAzureChainFirst": false, + "PlaceAzureChainFirst": true, "ApplyIPSetsOnNeed": false }, "Transport": { @@ -150,5 +150,3 @@ data: "ServicePort": 9001 } } - -