diff --git a/.pipelines/pipeline.yaml b/.pipelines/pipeline.yaml index 6631f80f02..4408d2d8b5 100644 --- a/.pipelines/pipeline.yaml +++ b/.pipelines/pipeline.yaml @@ -257,7 +257,7 @@ stages: displayName: Cilium clusterType: swift-byocni-nokubeproxy-up clusterName: "ciliume2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" @@ -268,7 +268,7 @@ stages: displayName: Cilium on AKS Overlay clusterType: overlay-byocni-nokubeproxy-up clusterName: "cilovere2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" @@ -280,7 +280,7 @@ stages: os: linux clusterType: dualstack-byocni-nokubeproxy-up clusterName: "cildsovere2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" @@ -291,7 +291,7 @@ stages: displayName: Cilium on AKS Overlay with Hubble clusterType: overlay-byocni-nokubeproxy-up clusterName: "cilwhleovere2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" testHubble: true @@ -304,20 +304,21 @@ stages: os: linux clusterType: overlay-byocni-up clusterName: "azovere2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" # Azure Overlay E2E Stateless CNI tests - - template: singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml - parameters: - name: "azure_overlay_stateless_e2e" - displayName: Azure Stateless CNI Overlay - os: windows - clusterType: overlay-byocni-up - clusterName: "statelesswin" - vmSize: Standard_B2ms - dependsOn: "containerize" + # Windows is not supported for arm64 yet + # - template: singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml + # parameters: + # name: "azure_overlay_stateless_e2e" + # displayName: Azure Stateless CNI Overlay + # os: windows + # clusterType: overlay-byocni-up + # clusterName: "statelesswin" + # vmSize: Standard_B2ms + # dependsOn: "containerize" # AKS Swift E2E tests - template: singletenancy/aks-swift/e2e-job-template.yaml @@ -327,7 +328,7 @@ stages: os: linux clusterType: swift-byocni-up clusterName: "swifte2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "" dependsOn: "containerize" @@ -339,7 +340,7 @@ stages: os: linux clusterType: vnetscale-swift-byocni-up clusterName: "vscaleswifte2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 k8sVersion: "1.30" dependsOn: "containerize" @@ -352,23 +353,23 @@ stages: os: "linux" clusterType: linux-cniv1-up clusterName: "ubuntu22e2e" - vmSize: Standard_B2s + vmSize: Standard_D4ps_v6 k8sVersion: 1.25 scaleup: 100 dependsOn: "containerize" - - - template: singletenancy/aks/e2e-job-template.yaml - parameters: - name: "aks_windows_22_e2e" - displayName: AKS Windows 2022 - arch: amd64 - os: windows - clusterType: windows-cniv1-up - clusterName: "win22e2e" - vmSize: Standard_B2ms - os_version: "ltsc2022" - scaleup: 50 - dependsOn: "containerize" + # Windows is not supported for arm64 yet + # - template: singletenancy/aks/e2e-job-template.yaml + # parameters: + # name: "aks_windows_22_e2e" + # displayName: AKS Windows 2022 + # arch: amd64 + # os: windows + # clusterType: windows-cniv1-up + # clusterName: "win22e2e" + # vmSize: Standard_B2ms + # os_version: "ltsc2022" + # scaleup: 50 + # dependsOn: "containerize" # CNI dual stack overlay E2E tests - template: singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml @@ -378,23 +379,23 @@ stages: os: linux clusterType: dualstack-overlay-byocni-up clusterName: "dsovere2e" - vmSize: Standard_B2ms + vmSize: Standard_D4ps_v6 dependsOn: "containerize" # Swiftv2 E2E tests with multitenancy cluster start up - - template: multitenancy/swiftv2-e2e-job-template.yaml - parameters: - name: "swiftv2_e2e" - displayName: Swiftv2 Multitenancy - os: linux - clusterType: swiftv2-multitenancy-cluster-up - clusterName: "mtacluster" - nodePoolName: "mtapool" - vmSize: $(SWIFTV2_MT_CLUSTER_SKU) - dependsOn: "containerize" - dummyClusterName: "swiftv2dummy" - dummyClusterType: "swiftv2-dummy-cluster-up" - dummyClusterDisplayName: Swiftv2 Multitenancy Dummy Cluster + # - template: multitenancy/swiftv2-e2e-job-template.yaml + # parameters: + # name: "swiftv2_e2e" + # displayName: Swiftv2 Multitenancy + # os: linux + # clusterType: swiftv2-multitenancy-cluster-up + # clusterName: "mtacluster" + # nodePoolName: "mtapool" + # vmSize: $(SWIFTV2_MT_CLUSTER_SKU) + # dependsOn: "containerize" + # dummyClusterName: "swiftv2dummy" + # dummyClusterType: "swiftv2-dummy-cluster-up" + # dummyClusterDisplayName: Swiftv2 Multitenancy Dummy Cluster - stage: delete displayName: Delete Clusters @@ -402,17 +403,17 @@ stages: dependsOn: - setup - azure_overlay_e2e - - azure_overlay_stateless_e2e + # - azure_overlay_stateless_e2e - aks_swift_e2e - cilium_e2e - cilium_overlay_e2e - cilium_h_overlay_e2e - aks_ubuntu_22_linux_e2e - aks_swift_vnetscale_e2e - - aks_windows_22_e2e + # - aks_windows_22_e2e - dualstackoverlay_e2e - cilium_dualstackoverlay_e2e - - swiftv2_e2e + # - swiftv2_e2e variables: commitID: $[ stagedependencies.setup.env.outputs['EnvironmentalVariables.commitID'] ] jobs: @@ -438,10 +439,10 @@ stages: name: azure_overlay_e2e clusterName: "azovere2e" region: $(REGION_AKS_CLUSTER_TEST) - azure_overlay_stateless_e2e: - name: azure_overlay_stateless_e2e - clusterName: "statelesswin" - region: $(REGION_AKS_CLUSTER_TEST) + # azure_overlay_stateless_e2e: + # name: azure_overlay_stateless_e2e + # clusterName: "statelesswin" + # region: $(REGION_AKS_CLUSTER_TEST) aks_swift_e2e: name: aks_swift_e2e clusterName: "swifte2e" @@ -454,10 +455,10 @@ stages: name: aks_ubuntu_22_linux_e2e clusterName: "ubuntu22e2e" region: $(REGION_AKS_CLUSTER_TEST) - aks_windows_22_e2e: - name: aks_windows_22_e2e - clusterName: "win22e2e" - region: $(REGION_AKS_CLUSTER_TEST) + # aks_windows_22_e2e: + # name: aks_windows_22_e2e + # clusterName: "win22e2e" + # region: $(REGION_AKS_CLUSTER_TEST) dualstackoverlay_e2e: name: dualstackoverlay_e2e clusterName: "dsovere2e" @@ -475,25 +476,25 @@ stages: sub: $(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) svcConn: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - - job: delete_test - displayName: Delete Cluster - pool: - name: "$(BUILD_POOL_NAME_DEFAULT)" - strategy: - matrix: - swiftv2_e2e: - name: swiftv2_e2e - clusterName: "mtacluster" - region: $(REGION_SWIFTV2_CLUSTER_TEST) - swiftv2_dummy_e2e: - name: swiftv2_dummy_e2e - clusterName: "swiftv2dummy" - region: $(REGION_SWIFTV2_CLUSTER_TEST) - steps: - - template: templates/delete-cluster.yaml - parameters: - name: $(name) - clusterName: $(clusterName)-$(commitID) - region: $(region) - sub: $(SUB_AZURE_NETWORK_AGENT_TEST) - svcConn: $(ACN_TEST_SERVICE_CONNECTION) + # - job: delete_test + # displayName: Delete Cluster + # pool: + # name: "$(BUILD_POOL_NAME_DEFAULT)" + # strategy: + # matrix: + # swiftv2_e2e: + # name: swiftv2_e2e + # clusterName: "mtacluster" + # region: $(REGION_SWIFTV2_CLUSTER_TEST) + # swiftv2_dummy_e2e: + # name: swiftv2_dummy_e2e + # clusterName: "swiftv2dummy" + # region: $(REGION_SWIFTV2_CLUSTER_TEST) + # steps: + # - template: templates/delete-cluster.yaml + # parameters: + # name: $(name) + # clusterName: $(clusterName)-$(commitID) + # region: $(region) + # sub: $(SUB_AZURE_NETWORK_AGENT_TEST) + # svcConn: $(ACN_TEST_SERVICE_CONNECTION) diff --git a/.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml b/.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml index c7b536e88e..690118a92f 100644 --- a/.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml +++ b/.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml @@ -28,84 +28,84 @@ stages: k8sVersion: ${{ parameters.k8sVersion }} dependsOn: ${{ parameters.dependsOn }} region: $(REGION_AKS_CLUSTER_TEST) - - job: windows_nodepool - displayName: Add Windows Nodepool - dependsOn: ${{ parameters.name }} - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - task: AzureCLI@2 - inputs: - azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - scriptLocation: "inlineScript" - scriptType: "bash" - addSpnToEnvironment: true - inlineScript: | - set -e - make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) - make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} - echo "Windows node are successfully added to v4 Overlay Cluster" - kubectl cluster-info - kubectl get node -owide - kubectl get po -owide -A - name: "Add_Windows_Node" - displayName: "Add windows node on v4 overlay cluster" + # - job: windows_nodepool + # displayName: Add Windows Nodepool + # dependsOn: ${{ parameters.name }} + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - task: AzureCLI@2 + # inputs: + # azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # scriptLocation: "inlineScript" + # scriptType: "bash" + # addSpnToEnvironment: true + # inlineScript: | + # set -e + # make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) + # make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} + # echo "Windows node are successfully added to v4 Overlay Cluster" + # kubectl cluster-info + # kubectl get node -owide + # kubectl get po -owide -A + # name: "Add_Windows_Node" + # displayName: "Add windows node on v4 overlay cluster" - - stage: ${{ parameters.name }} - displayName: E2E - ${{ parameters.displayName }} - dependsOn: - - setup - - publish - - ${{ parameters.clusterName }} - variables: - commitID: $[ stagedependencies.setup.env.outputs['EnvironmentalVariables.commitID'] ] - GOPATH: "$(Agent.TempDirectory)/go" # Go workspace path - GOBIN: "$(GOPATH)/bin" # Go binaries path - modulePath: "$(GOPATH)/src/github.com/Azure/azure-container-networking" - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - jobs: - - job: ${{ parameters.name }}_windows - displayName: Azure Stateless CNI Overlay Test Suite | Windows - (${{ parameters.name }}) - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - template: azure-cni-overlay-stateless-e2e-step-template.yaml - parameters: - name: ${{ parameters.name }} - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - vmSizeWin: ${{ parameters.vmSize }} + # - stage: ${{ parameters.name }} + # displayName: E2E - ${{ parameters.displayName }} + # dependsOn: + # - setup + # - publish + # - ${{ parameters.clusterName }} + # variables: + # commitID: $[ stagedependencies.setup.env.outputs['EnvironmentalVariables.commitID'] ] + # GOPATH: "$(Agent.TempDirectory)/go" # Go workspace path + # GOBIN: "$(GOPATH)/bin" # Go binaries path + # modulePath: "$(GOPATH)/src/github.com/Azure/azure-container-networking" + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # jobs: + # - job: ${{ parameters.name }}_windows + # displayName: Azure Stateless CNI Overlay Test Suite | Windows - (${{ parameters.name }}) + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - template: azure-cni-overlay-stateless-e2e-step-template.yaml + # parameters: + # name: ${{ parameters.name }} + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # vmSizeWin: ${{ parameters.vmSize }} - - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml - parameters: - sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - dependsOn: ${{ parameters.name }}_windows - datapath: true - dns: true - portforward: true - hostport: true - service: true - hybridWin: true + # - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml + # parameters: + # sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # dependsOn: ${{ parameters.name }}_windows + # datapath: true + # dns: true + # portforward: true + # hostport: true + # service: true + # hybridWin: true - - job: failedE2ELogs_windows - displayName: "Windows Failure Logs" - dependsOn: - - ${{ parameters.name }}_windows - - cni_windows - condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') - steps: - - template: ../../templates/log-template.yaml - parameters: - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - cni: cniv2 + # - job: failedE2ELogs_windows + # displayName: "Windows Failure Logs" + # dependsOn: + # - ${{ parameters.name }}_windows + # - cni_windows + # condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') + # steps: + # - template: ../../templates/log-template.yaml + # parameters: + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # cni: cniv2 diff --git a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml index 2bc03a4726..fd8264777a 100644 --- a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml +++ b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml @@ -59,74 +59,75 @@ stages: os: linux scaleup: 100 - - job: windows_nodepool - displayName: Add Windows Nodepool - dependsOn: ${{ parameters.name }}_linux - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - task: AzureCLI@2 - inputs: - azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - scriptLocation: "inlineScript" - scriptType: "bash" - addSpnToEnvironment: true - inlineScript: | - set -e - make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) - make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} - echo "Windows node are successfully added to v4 Overlay Cluster" - kubectl cluster-info - kubectl get node -owide - kubectl get po -owide -A - name: "Add_Windows_Node" - displayName: "Add windows node on v4 overlay cluster" + # No windows support yet for arm64 + # - job: windows_nodepool + # displayName: Add Windows Nodepool + # dependsOn: ${{ parameters.name }}_linux + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - task: AzureCLI@2 + # inputs: + # azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # scriptLocation: "inlineScript" + # scriptType: "bash" + # addSpnToEnvironment: true + # inlineScript: | + # set -e + # make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) + # make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} + # echo "Windows node are successfully added to v4 Overlay Cluster" + # kubectl cluster-info + # kubectl get node -owide + # kubectl get po -owide -A + # name: "Add_Windows_Node" + # displayName: "Add windows node on v4 overlay cluster" - - job: ${{ parameters.name }}_windows - displayName: Azure CNI Overlay Test Suite | Windows - (${{ parameters.name }}) - timeoutInMinutes: 120 - dependsOn: windows_nodepool - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - template: azure-cni-overlay-e2e-step-template.yaml - parameters: - name: ${{ parameters.name }} - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - scaleup: 50 + # - job: ${{ parameters.name }}_windows + # displayName: Azure CNI Overlay Test Suite | Windows - (${{ parameters.name }}) + # timeoutInMinutes: 120 + # dependsOn: windows_nodepool + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - template: azure-cni-overlay-e2e-step-template.yaml + # parameters: + # name: ${{ parameters.name }} + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # scaleup: 50 - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml parameters: sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) clusterName: ${{ parameters.clusterName }}-$(commitID) os: ${{ parameters.os }} - dependsOn: ${{ parameters.name }}_windows + # dependsOn: ${{ parameters.name }}_windows datapath: true dns: true portforward: true hostport: true service: true - - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml - parameters: - sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - dependsOn: cni_${{ parameters.os }} - datapath: true - dns: true - portforward: true - hostport: true - service: true - hybridWin: true + # - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml + # parameters: + # sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # dependsOn: cni_${{ parameters.os }} + # datapath: true + # dns: true + # portforward: true + # hostport: true + # service: true + # hybridWin: true - job: failedE2ELogs_linux displayName: "Linux Failure Logs" @@ -141,16 +142,16 @@ stages: os: linux cni: cniv2 - - job: failedE2ELogs_windows - displayName: "Windows Failure Logs" - dependsOn: - - ${{ parameters.name }}_windows - - cni_windows - condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') - steps: - - template: ../../templates/log-template.yaml - parameters: - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - cni: cniv2 + # - job: failedE2ELogs_windows + # displayName: "Windows Failure Logs" + # dependsOn: + # - ${{ parameters.name }}_windows + # - cni_windows + # condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') + # steps: + # - template: ../../templates/log-template.yaml + # parameters: + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # cni: cniv2 diff --git a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e.jobs.yaml b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e.jobs.yaml index 3af20d7bf7..331e753b3f 100644 --- a/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e.jobs.yaml +++ b/.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e.jobs.yaml @@ -65,91 +65,91 @@ stages: os: linux scaleup: 100 - - job: windows_nodepool - displayName: Add Windows Nodepool - dependsOn: ${{ parameters.name }}_linux - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - variables: - ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: windows_nodepool + # displayName: Add Windows Nodepool + # dependsOn: ${{ parameters.name }}_linux + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # variables: + # ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - task: AzureCLI@2 - inputs: - azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - scriptLocation: "inlineScript" - scriptType: "bash" - workingDirectory: $(ACN_DIR) - addSpnToEnvironment: true - inlineScript: | - set -e - make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) - make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} - echo "Windows node are successfully added to v4 Overlay Cluster" - kubectl cluster-info - kubectl get node -owide - kubectl get po -owide -A - name: "Add_Windows_Node" - displayName: "Add windows node on v4 overlay cluster" + # - task: AzureCLI@2 + # inputs: + # azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # scriptLocation: "inlineScript" + # scriptType: "bash" + # workingDirectory: $(ACN_DIR) + # addSpnToEnvironment: true + # inlineScript: | + # set -e + # make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) + # make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} + # echo "Windows node are successfully added to v4 Overlay Cluster" + # kubectl cluster-info + # kubectl get node -owide + # kubectl get po -owide -A + # name: "Add_Windows_Node" + # displayName: "Add windows node on v4 overlay cluster" - - job: ${{ parameters.name }}_windows - displayName: Azure CNI Overlay Test Suite | Windows - (${{ parameters.name }}) - timeoutInMinutes: 120 - dependsOn: windows_nodepool - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - variables: - ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: ${{ parameters.name }}_windows + # displayName: Azure CNI Overlay Test Suite | Windows - (${{ parameters.name }}) + # timeoutInMinutes: 120 + # dependsOn: windows_nodepool + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # variables: + # ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - template: azure-cni-overlay-e2e.steps.yaml@ACNTools - parameters: - name: ${{ parameters.name }} - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - scaleup: 50 + # - template: azure-cni-overlay-e2e.steps.yaml@ACNTools + # parameters: + # name: ${{ parameters.name }} + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # scaleup: 50 - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools parameters: sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) clusterName: ${{ parameters.clusterName }}-$(commitID) os: ${{ parameters.os }} - dependsOn: ${{ parameters.name }}_windows + # dependsOn: ${{ parameters.name }}_windows datapath: true dns: true portforward: true hostport: true service: true - - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools - parameters: - sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - dependsOn: cni_${{ parameters.os }} - datapath: true - dns: true - portforward: true - hostport: true - service: true - hybridWin: true + # - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools + # parameters: + # sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # dependsOn: cni_${{ parameters.os }} + # datapath: true + # dns: true + # portforward: true + # hostport: true + # service: true + # hybridWin: true - job: failedE2ELogs_linux displayName: "Linux Failure Logs" @@ -174,26 +174,26 @@ stages: os: linux cni: cniv2 - - job: failedE2ELogs_windows - displayName: "Windows Failure Logs" - dependsOn: - - ${{ parameters.name }}_windows - - CNI_windows - condition: failed() - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - variables: - ob_outputDirectory: $(ACN_DIR)/${{ parameters.clusterName }}-$(commitID)_FailedE2ELogs_windows_Attempt_#$(System.StageAttempt) - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: failedE2ELogs_windows + # displayName: "Windows Failure Logs" + # dependsOn: + # - ${{ parameters.name }}_windows + # - CNI_windows + # condition: failed() + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # variables: + # ob_outputDirectory: $(ACN_DIR)/${{ parameters.clusterName }}-$(commitID)_FailedE2ELogs_windows_Attempt_#$(System.StageAttempt) + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - template: ../../templates/log-template.steps.yaml@ACNTools - parameters: - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - cni: cniv2 + # - template: ../../templates/log-template.steps.yaml@ACNTools + # parameters: + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # cni: cniv2 diff --git a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml index 6780a82709..6a886244b7 100644 --- a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml +++ b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e-job-template.yaml @@ -60,73 +60,73 @@ stages: os: linux scaleup: 100 - - job: windows_nodepool - displayName: Add Windows Nodepool - dependsOn: ${{ parameters.name }}_linux - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - task: AzureCLI@2 - inputs: - azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - scriptLocation: "inlineScript" - scriptType: "bash" - addSpnToEnvironment: true - inlineScript: | - set -e - make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) - make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} - echo "Windows nodes have been successfully added to DualStack Overlay Cluster" - kubectl cluster-info - kubectl get node -owide - kubectl get po -owide -A - name: "Add_Windows_Node" - displayName: "Add windows node" + # - job: windows_nodepool + # displayName: Add Windows Nodepool + # dependsOn: ${{ parameters.name }}_linux + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - task: AzureCLI@2 + # inputs: + # azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # scriptLocation: "inlineScript" + # scriptType: "bash" + # addSpnToEnvironment: true + # inlineScript: | + # set -e + # make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) + # make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} + # echo "Windows nodes have been successfully added to DualStack Overlay Cluster" + # kubectl cluster-info + # kubectl get node -owide + # kubectl get po -owide -A + # name: "Add_Windows_Node" + # displayName: "Add windows node" - - job: ${{ parameters.name }}_windows - displayName: DualStack Overlay Test Suite | Windows - (${{ parameters.name }}) - timeoutInMinutes: 120 - dependsOn: windows_nodepool - pool: - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - steps: - - template: dualstackoverlay-e2e-step-template.yaml - parameters: - name: ${{ parameters.name }} - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - scaleup: 50 + # - job: ${{ parameters.name }}_windows + # displayName: DualStack Overlay Test Suite | Windows - (${{ parameters.name }}) + # timeoutInMinutes: 120 + # dependsOn: windows_nodepool + # pool: + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # steps: + # - template: dualstackoverlay-e2e-step-template.yaml + # parameters: + # name: ${{ parameters.name }} + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # scaleup: 50 - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml parameters: sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) clusterName: ${{ parameters.clusterName }}-$(commitID) os: linux - dependsOn: ${{ parameters.name }}_windows + # dependsOn: ${{ parameters.name }}_windows dualstack: true dns: true portforward: true hostport: true service: true - - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml - parameters: - sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - dependsOn: cni_linux - # dualstack: true # Currently broken for scenario and blocking releases, HNS is investigating. Covered by go test in E2E step template - dns: true - portforward: true - # service: true # Currently broken for scenario and blocking releases, HNS is investigating. - hostport: true - hybridWin: true + # - template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml + # parameters: + # sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # dependsOn: cni_linux + # # dualstack: true # Currently broken for scenario and blocking releases, HNS is investigating. Covered by go test in E2E step template + # dns: true + # portforward: true + # # service: true # Currently broken for scenario and blocking releases, HNS is investigating. + # hostport: true + # hybridWin: true - job: failedE2ELogs_linux displayName: "Linux Failure Logs" @@ -141,15 +141,15 @@ stages: os: linux cni: cniv2 - - job: failedE2ELogs_windows - displayName: "Windows Failure Logs" - dependsOn: - - ${{ parameters.name }}_windows - - cni_windows - condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') - steps: - - template: ../../templates/log-template.yaml - parameters: - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - cni: cniv2 + # - job: failedE2ELogs_windows + # displayName: "Windows Failure Logs" + # dependsOn: + # - ${{ parameters.name }}_windows + # - cni_windows + # condition: in(dependencies.${{ parameters.name }}_windows.result, 'Failed') + # steps: + # - template: ../../templates/log-template.yaml + # parameters: + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # cni: cniv2 diff --git a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e.jobs.yaml b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e.jobs.yaml index c6a0442ba8..0300f24783 100644 --- a/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e.jobs.yaml +++ b/.pipelines/singletenancy/dualstack-overlay/dualstackoverlay-e2e.jobs.yaml @@ -66,90 +66,90 @@ stages: os: linux scaleup: 100 - - job: windows_nodepool - displayName: Add Windows Nodepool - dependsOn: ${{ parameters.name }}_linux - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - variables: - ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: windows_nodepool + # displayName: Add Windows Nodepool + # dependsOn: ${{ parameters.name }}_linux + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # variables: + # ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - task: AzureCLI@2 - inputs: - azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - scriptLocation: "inlineScript" - scriptType: "bash" - workingDirectory: $(ACN_DIR) - addSpnToEnvironment: true - inlineScript: | - set -e - make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) - make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} - echo "Windows nodes have been successfully added to DualStack Overlay Cluster" - kubectl cluster-info - kubectl get node -owide - kubectl get po -owide -A - name: "Add_Windows_Node" - displayName: "Add windows node" + # - task: AzureCLI@2 + # inputs: + # azureSubscription: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # scriptLocation: "inlineScript" + # scriptType: "bash" + # workingDirectory: $(ACN_DIR) + # addSpnToEnvironment: true + # inlineScript: | + # set -e + # make -C ./hack/aks set-kubeconf AZCLI=az CLUSTER=${{ parameters.clusterName }}-$(commitID) + # make -C ./hack/aks windows-nodepool-up AZCLI=az SUB=$(SUB_AZURE_NETWORK_AGENT_BUILD_VALIDATIONS) CLUSTER=${{ parameters.clusterName }}-$(commitID) VM_SIZE_WIN=${{ parameters.vmSize }} + # echo "Windows nodes have been successfully added to DualStack Overlay Cluster" + # kubectl cluster-info + # kubectl get node -owide + # kubectl get po -owide -A + # name: "Add_Windows_Node" + # displayName: "Add windows node" - - job: ${{ parameters.name }}_windows - displayName: DualStack Overlay Test Suite | Windows - (${{ parameters.name }}) - timeoutInMinutes: 120 - dependsOn: windows_nodepool - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - demands: - - agent.os -equals Linux - - Role -equals $(CUSTOM_E2E_ROLE) - variables: - ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: ${{ parameters.name }}_windows + # displayName: DualStack Overlay Test Suite | Windows - (${{ parameters.name }}) + # timeoutInMinutes: 120 + # dependsOn: windows_nodepool + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # demands: + # - agent.os -equals Linux + # - Role -equals $(CUSTOM_E2E_ROLE) + # variables: + # ob_outputDirectory: $(Build.ArtifactStagingDirectory)/output + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - template: dualstackoverlay-e2e.steps.yaml@ACNTools - parameters: - name: ${{ parameters.name }} - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - scaleup: 50 + # - template: dualstackoverlay-e2e.steps.yaml@ACNTools + # parameters: + # name: ${{ parameters.name }} + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # scaleup: 50 - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools parameters: sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) clusterName: ${{ parameters.clusterName }}-$(commitID) os: linux - dependsOn: ${{ parameters.name }}_windows + # dependsOn: ${{ parameters.name }}_windows dualstack: true dns: true portforward: true hostport: true service: true - - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools - parameters: - sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - dependsOn: cni_linux - dualstack: true - dns: true - portforward: true - service: true - hostport: true - hybridWin: true + # - template: ../../cni/k8s-e2e/k8s-e2e.jobs.yaml@ACNTools + # parameters: + # sub: $(BUILD_VALIDATIONS_SERVICE_CONNECTION) + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # dependsOn: cni_linux + # dualstack: true + # dns: true + # portforward: true + # service: true + # hostport: true + # hybridWin: true - job: failedE2ELogs_linux displayName: "Linux Failure Logs" @@ -175,27 +175,27 @@ stages: os: linux cni: cniv2 - - job: failedE2ELogs_windows - displayName: "Windows Failure Logs" - dependsOn: - - CNI_windows # k8s tests - - ${{ parameters.name }}_windows - - cni_windows - condition: failed() - pool: - isCustom: true - type: linux - name: $(BUILD_POOL_NAME_DEFAULT) - variables: - ob_outputDirectory: $(ACN_DIR)/${{ parameters.clusterName }}-$(commitID)_FailedE2ELogs_windows_Attempt_#$(System.StageAttempt) - ob_git_checkout: true - steps: - - checkout: ACNReviewChanges - clean: true + # - job: failedE2ELogs_windows + # displayName: "Windows Failure Logs" + # dependsOn: + # - CNI_windows # k8s tests + # - ${{ parameters.name }}_windows + # - cni_windows + # condition: failed() + # pool: + # isCustom: true + # type: linux + # name: $(BUILD_POOL_NAME_DEFAULT) + # variables: + # ob_outputDirectory: $(ACN_DIR)/${{ parameters.clusterName }}-$(commitID)_FailedE2ELogs_windows_Attempt_#$(System.StageAttempt) + # ob_git_checkout: true + # steps: + # - checkout: ACNReviewChanges + # clean: true - - template: ../../templates/log-template.steps.yaml@ACNTools - parameters: - clusterName: ${{ parameters.clusterName }}-$(commitID) - os: windows - cni: cniv2 + # - template: ../../templates/log-template.steps.yaml@ACNTools + # parameters: + # clusterName: ${{ parameters.clusterName }}-$(commitID) + # os: windows + # cni: cniv2 diff --git a/test/integration/manifests/load/privileged-daemonset.yaml b/test/integration/manifests/load/privileged-daemonset.yaml index 715f031ef5..3ac5709fc7 100644 --- a/test/integration/manifests/load/privileged-daemonset.yaml +++ b/test/integration/manifests/load/privileged-daemonset.yaml @@ -31,7 +31,7 @@ spec: - -i - -n - -p - - bash + - sh - -c - sleep 3650d securityContext: diff --git a/test/validate/linux_validate.go b/test/validate/linux_validate.go index 14e72547fa..0a33605f2a 100644 --- a/test/validate/linux_validate.go +++ b/test/validate/linux_validate.go @@ -18,12 +18,13 @@ const ( ) var ( - restartNetworkCmd = []string{"bash", "-c", "systemctl restart systemd-networkd"} - cnsManagedStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-cns/azure-endpoints.json"} - azureVnetStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-vnet.json"} - azureVnetIpamStateCmd = []string{"bash", "-c", "cat /var/run/azure-vnet-ipam.json"} - ciliumStateFileCmd = []string{"bash", "-c", "cilium endpoint list -o json"} - cnsCachedAssignedIPStateCmd = []string{"curl", "localhost:10090/debug/ipaddresses", "-d", "{\"IPConfigStateFilter\":[\"Assigned\"]}"} + restartNetworkCmd = []string{"bash", "-c", "systemctl restart systemd-networkd"} + cnsManagedStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-cns/azure-endpoints.json"} + azureVnetStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-vnet.json"} + azureVnetIpamStateCmd = []string{"bash", "-c", "cat /var/run/azure-vnet-ipam.json"} + ciliumStateFileCmd = []string{"bash", "-c", "cilium endpoint list -o json"} + // Would need https://teams.microsoft.com/l/message/19:9e8c1075b261459597d438acbff2d770@thread.skype/1724337155258?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=e121dbfd-0ec1-40ea-8af5-26075f6a731b&parentMessageId=1724337155258&teamName=Azure%20Container%20Compute&channelName=Networking%20Sig&createdTime=1724337155258 to fix + // cnsCachedAssignedIPStateCmd = []string{"curl", "localhost:10090/debug/ipaddresses", "-d", "{\"IPConfigStateFilter\":[\"Assigned\"]}"} ) type stateFileIpsFunc func([]byte) (map[string]string, error) @@ -45,14 +46,14 @@ var linuxChecksMap = map[string][]check{ podNamespace: privilegedNamespace, cmd: ciliumStateFileCmd, }, - { - name: "cns cache", - stateFileIPs: cnsCacheStateFileIps, - podLabelSelector: validatorPod, - podNamespace: privilegedNamespace, - containerName: "debug", - cmd: cnsCachedAssignedIPStateCmd, - }, + // { + // name: "cns cache", + // stateFileIPs: cnsCacheStateFileIps, + // podLabelSelector: validatorPod, + // podNamespace: privilegedNamespace, + // containerName: "debug", + // cmd: cnsCachedAssignedIPStateCmd, + // }, }, "cniv1": { { @@ -71,14 +72,14 @@ var linuxChecksMap = map[string][]check{ }, }, "cniv2": { - { - name: "cns cache", - stateFileIPs: cnsCacheStateFileIps, - podLabelSelector: validatorPod, - podNamespace: privilegedNamespace, - containerName: "debug", - cmd: cnsCachedAssignedIPStateCmd, - }, + // { + // name: "cns cache", + // stateFileIPs: cnsCacheStateFileIps, + // podLabelSelector: validatorPod, + // podNamespace: privilegedNamespace, + // containerName: "debug", + // cmd: cnsCachedAssignedIPStateCmd, + // }, { name: "azure-vnet", stateFileIPs: azureVnetStateIps, @@ -88,14 +89,14 @@ var linuxChecksMap = map[string][]check{ }, // cns configmap "ManageEndpointState": false, | Endpoints managed in CNI State File }, "dualstack": { - { - name: "cns cache", - stateFileIPs: cnsCacheStateFileIps, - podLabelSelector: validatorPod, - podNamespace: privilegedNamespace, - containerName: "debug", - cmd: cnsCachedAssignedIPStateCmd, - }, + // { + // name: "cns cache", + // stateFileIPs: cnsCacheStateFileIps, + // podLabelSelector: validatorPod, + // podNamespace: privilegedNamespace, + // containerName: "debug", + // cmd: cnsCachedAssignedIPStateCmd, + // }, { name: "azure dualstackoverlay", stateFileIPs: azureVnetStateIps, @@ -120,14 +121,14 @@ var linuxChecksMap = map[string][]check{ podNamespace: privilegedNamespace, cmd: ciliumStateFileCmd, }, - { - name: "cns cache", - stateFileIPs: cnsCacheStateFileIps, - podLabelSelector: validatorPod, - podNamespace: privilegedNamespace, - containerName: "debug", - cmd: cnsCachedAssignedIPStateCmd, - }, + // { + // name: "cns cache", + // stateFileIPs: cnsCacheStateFileIps, + // podLabelSelector: validatorPod, + // podNamespace: privilegedNamespace, + // containerName: "debug", + // cmd: cnsCachedAssignedIPStateCmd, + // }, }, }