Skip to content

Commit

Permalink
further update
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdenney committed Feb 5, 2024
1 parent 6182e87 commit fa878c3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 21 deletions.
13 changes: 12 additions & 1 deletion .pipelines/cni/k8s-e2e/k8s-e2e-job-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,18 @@ jobs:
os: ${{ parameters.os }}
processes: 8
attempts: 3
- ${{ if eq(parameters.dualstack, true) }}:
- ${{ if and( eq(parameters.dualstack, true), eq(contains(parameters.cni, 'cilium'), false) ) }}:
- template: ../k8s-e2e/k8s-e2e-step-template.yaml
parameters:
testName: DualStack Test
name: DualStack
clusterName: ${{ parameters.clusterName }}
ginkgoFocus: '\[Feature:IPv6DualStack\]'
ginkgoSkip: 'SCTP|session affinity'
os: ${{ parameters.os }}
processes: 8
attempts: 3
- ${{ if and( eq(parameters.dualstack, true), contains(parameters.cni, 'cilium') ) }}:
- template: ../k8s-e2e/k8s-e2e-step-template.yaml
parameters:
testName: DualStack Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ stages:
- template: cilium-dualstackoverlay-e2e-step-template.yaml
parameters:
name: ${{ parameters.name }}
testDropgz: ${{ parameters.testDropgz }}
clusterName: ${{ parameters.clusterName }}-$(commitID)

- template: ../../cni/k8s-e2e/k8s-e2e-job-template.yaml
Expand All @@ -67,7 +66,6 @@ stages:
dualstack: true
dns: true
portforward: true
hostport: false
service: true

- job: failedE2ELogs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
parameters:
name: ""
clusterName: ""
testHubble: false

steps:

Expand Down Expand Up @@ -44,7 +43,7 @@ steps:
kubectl apply -f test/integration/manifests/cilium/cilium-operator
kubectl get po -owide -A
name: "installCilium"
displayName: "Install Cilium on AKS Overlay"
displayName: "Install Cilium on AKS Dualstack Overlay"

- script: |
echo "install cilium CLI"
Expand Down Expand Up @@ -117,21 +116,6 @@ steps:
name: "validatePods"
displayName: "Validate Pods"
- script: |
echo "validate pod IP assignment before CNS restart"
kubectl get pod -owide -A
echo "validate pod state before CNS restarts"
cd test/integration/load
CNI_TYPE=cilium_dualstack go test -timeout 30m -tags load -run ^TestValidateState$
echo "restart CNS"
kubectl rollout restart ds azure-cns -n kube-system
kubectl rollout status ds azure-cns -n kube-system
kubectl get pod -owide -A
echo "validate pods after CNS restart"
CNI_TYPE=cilium_dualstack go test -timeout 30m -tags load -run ^TestValidateState$
name: "restartCNS"
displayName: "Restart CNS and validate pods"
- script: |
echo "Run wireserver and metadata connectivity Tests"
bash test/network/wireserver_metadata_test.sh
Expand Down
2 changes: 1 addition & 1 deletion test/validate/linux_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var linuxChecksMap = map[string][]check{
{"azure dualstackoverlay", azureVnetStateIps, privilegedLabelSelector, privilegedNamespace, azureVnetStateFileCmd},
},
"cilium_dualstack": {
{"cns", cnsManagedStateFileDualStackIps, cnsLabelSelector, privilegedNamespace, cnsManagedStateFileCmd}, // cns configmap "ManageEndpointState": true, | Endpoints managed in CNS State File
{"cns dualstack", cnsManagedStateFileDualStackIps, cnsLabelSelector, privilegedNamespace, cnsManagedStateFileCmd}, // cns configmap "ManageEndpointState": true, | Endpoints managed in CNS State File
{"cilium", ciliumStateFileDualStackIps, ciliumLabelSelector, privilegedNamespace, ciliumStateFileCmd},
{"cns cache", cnsCacheStateFileIps, cnsLabelSelector, privilegedNamespace, cnsCachedAssignedIPStateCmd},
},
Expand Down

0 comments on commit fa878c3

Please sign in to comment.