From 4bc2116ed96bf3a241cae015444773da79d252bb Mon Sep 17 00:00:00 2001 From: t-qini Date: Fri, 26 Jul 2019 05:27:12 +0000 Subject: [PATCH] Add config for azure multi-zone e2e test. --- .../cloud-provider-azure-config.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/config/jobs/kubernetes/cloud-provider-azure/cloud-provider-azure-config.yaml b/config/jobs/kubernetes/cloud-provider-azure/cloud-provider-azure-config.yaml index e06f7236f73d..d0da2849f6ab 100644 --- a/config/jobs/kubernetes/cloud-provider-azure/cloud-provider-azure-config.yaml +++ b/config/jobs/kubernetes/cloud-provider-azure/cloud-provider-azure-config.yaml @@ -643,3 +643,61 @@ periodics: testgrid-dashboards: sig-azure-master testgrid-tab-name: cloud-provider-azure-slow-vmss description: "Runs Kubernetes slow tests with cloud-provider-azure (https://github.com/kubernetes/cloud-provider-azure) on VMSS." +- interval: 8h + # ci-cloud-provider-azure-multiple-zones runs Kubernetes multiple availability zones tests periodically. + name: ci-cloud-provider-azure-multiple-zones + labels: + preset-service-account: "true" + preset-cloudprovider-azure-cred: "true" + preset-dind-enabled: "true" + extra_refs: + - org: kubernetes + repo: cloud-provider-azure + base_ref: master + path_alias: k8s.io/cloud-provider-azure + spec: + containers: + - image: gcr.io/k8s-testimages/kubekins-e2e:v20190725-8880a53-master + args: + - --job=$(JOB_NAME) + - --repo=k8s.io/kubernetes=v1.15.0 + - --repo=k8s.io/$(REPO_NAME)=master + - --root=/go/src + - --service-account=/etc/service-account/service-account.json + - --timeout=450 + - --upload=gs://kubernetes-jenkins/logs/ + - --scenario=kubernetes_e2e + - -- + - --gce-ssh= + - --test=true + - --up=true + - --down=true + - --deployment=acsengine + - --build=bazel + - --provider=skeleton + - --ginkgo-parallel=30 + - --acsengine-agentpoolcount=2 + - --acsengine-admin-username=azureuser + - --acsengine-creds=$AZURE_CREDENTIALS + - --acsengine-orchestratorRelease=1.15 + - --acsengine-mastervmsize=Standard_DS2_v2 + - --acsengine-agentvmsize=Standard_D4s_v3 + - --acsengine-ccm=True + - --acsengine-hyperkube=True + - --acsengine-location=eastus2 + - --acsengine-public-key=$AZURE_SSH_PUBLIC_KEY_FILE + - --acsengine-template-url=https://raw.githubusercontent.com/kubernetes/cloud-provider-azure/master/tests/k8s-azure/manifest/linux-vmss-multi-zones.json + - --acsengine-download-url=https://github.com/Azure/aks-engine/releases/download/v0.37.3/aks-engine-v0.37.3-linux-amd64.tar.gz + - --test_args=--ginkgo.flakeAttempts=2 --num-nodes=2 --ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\] + - --timeout=420m + securityContext: + privileged: true + env: + - name: REPO_OWNER + value: kubernetes + - name: REPO_NAME + value: cloud-provider-azure + annotations: + testgrid-dashboards: sig-azure-master + testgrid-tab-name: ci-cloud-provider-azure-multiple-zones + description: "Runs Kubernetes multiple availability zones tests with cloud-provider-azure (https://github.com/kubernetes/cloud-provider-azure) on VMSS."