Merge pull request #34141 from Random-Liu/add-cri-node-serial-and-benchmark

Automatic merge from submit-queue

CRI: Add serial and benchmark test suite.

For https://github.com/kubernetes/kubernetes/issues/31459.

The serial test result will be shown on test-grid.
The benchmark test result will be shown [node-perf-dash](http://node-perf-dash.k8s.io/#/builds)

This PR also changes the cri validation test to use the same gci image with node e2e instead of the canary image. The docker version is still 1.11.2.

@yujuhong @feiskyer @yifan-gu 
/cc @kubernetes/sig-node
This commit is contained in:
Kubernetes Submit Queue 2016-10-05 18:35:24 -07:00 committed by GitHub
commit 0554f58489
4 changed files with 83 additions and 10 deletions

View File

@ -0,0 +1,58 @@
---
images:
containervm-density1:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'create 35 pods with 0s? interval \[Benchmark\]'
containervm-density2:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'create 105 pods with 0s? interval \[Benchmark\]'
containervm-density2-qps60:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'create 105 pods with 0s? interval \(QPS 60\) \[Benchmark\]'
containervm-density3:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-2
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'create 105 pods with 0s? interval \[Benchmark\]'
containervm-density4:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'create 105 pods with 100ms interval \[Benchmark\]'
containervm-resource1:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'resource tracking for 0 pods per node \[Benchmark\]'
containervm-resource2:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'resource tracking for 35 pods per node \[Benchmark\]'
containervm-resource3:
image: gci-dev-55-8820-0-0
project: google-containers
machine: n1-standard-1
metadata: "user-data<test/e2e_node/jenkins/gci-init.yaml"
tests:
- 'resource tracking for 105 pods per node \[Benchmark\]'

View File

@ -0,0 +1,9 @@
GCE_HOSTS=
GCE_IMAGE_CONFIG_PATH=test/e2e_node/jenkins/cri_validation/benchmark-config.yaml
GCE_ZONE=us-central1-f
GCE_PROJECT=k8s-jkns-ci-node-e2e
CLEANUP=true
GINKGO_FLAGS='--skip="\[Flaky\]"'
SETUP_NODE=false
TEST_ARGS='--runtime-integration-type=cri --feature-gates=DynamicKubeletConfig=true'
PARALLELISM=1

View File

@ -0,0 +1,13 @@
GCI_CLOUD_INIT=test/e2e_node/jenkins/gci-init.yaml
GCE_HOSTS=
GCE_IMAGES=gci-dev-55-8820-0-0
GCE_IMAGE_PROJECT=google-containers
GCE_ZONE=us-central1-f
GCE_PROJECT=k8s-jkns-ci-node-e2e
GCE_INSTANCE_METADATA="user-data<${GCI_CLOUD_INIT}"
CLEANUP=true
GINKGO_FLAGS='--focus="\[Serial\]" --skip="\[Flaky\]|\[Benchmark\]"'
SETUP_NODE=false
TEST_ARGS='--runtime-integration-type=cri --feature-gates=DynamicKubeletConfig=true'
PARALLELISM=1
TIMEOUT=3h

View File

@ -1,17 +1,10 @@
GCI_IMAGE_PROJECT=container-vm-image-staging
GCI_IMAGE_FAMILY=gci-canary-test
GCI_IMAGE=$(gcloud compute images describe-from-family ${GCI_IMAGE_FAMILY} --project=${GCI_IMAGE_PROJECT} --format="value(name)")
DOCKER_VERSION=v1.11.2
GCI_CLOUD_INIT=test/e2e_node/jenkins/gci-init.yaml
GCE_HOSTS=
GCE_IMAGES=${GCI_IMAGE}
GCE_IMAGE_PROJECT=${GCI_IMAGE_PROJECT}
GCE_IMAGES=gci-dev-55-8820-0-0
GCE_IMAGE_PROJECT=google-containers
GCE_ZONE=us-central1-f
GCE_PROJECT=k8s-jkns-ci-node-e2e
# user-data is the GCI cloud init config file.
# gci-docker-version specifies docker version in GCI image.
GCE_INSTANCE_METADATA="user-data<${GCI_CLOUD_INIT},gci-docker-version=${DOCKER_VERSION}"
GCE_INSTANCE_METADATA="user-data<${GCI_CLOUD_INIT}"
CLEANUP=true
GINKGO_FLAGS='--skip="\[Flaky\]|\[Serial\]"'
SETUP_NODE=false