diff options
author | Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> | 2018-09-07 03:54:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-07 03:54:05 +0000 |
commit | 27d82af1145673330eddbe80eb39c47d93322cbe (patch) | |
tree | 81c5cf27302f20ab2081f1035bf222da2e63d082 /testsuites/kubestone/testcases | |
parent | e32043f58a2450b6a5986dc2a01f64f8b22c3992 (diff) | |
parent | eacf878ec5372a6db4596c9cbc78ef96bf2453b9 (diff) |
Merge "add k8s capacity test case"
Diffstat (limited to 'testsuites/kubestone/testcases')
-rw-r--r-- | testsuites/kubestone/testcases/__init__.py | 0 | ||||
-rw-r--r-- | testsuites/kubestone/testcases/deployment_capacity.yaml | 25 |
2 files changed, 25 insertions, 0 deletions
diff --git a/testsuites/kubestone/testcases/__init__.py b/testsuites/kubestone/testcases/__init__.py new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/testsuites/kubestone/testcases/__init__.py diff --git a/testsuites/kubestone/testcases/deployment_capacity.yaml b/testsuites/kubestone/testcases/deployment_capacity.yaml new file mode 100644 index 00000000..2638211a --- /dev/null +++ b/testsuites/kubestone/testcases/deployment_capacity.yaml @@ -0,0 +1,25 @@ +apiVersion: apps/v1 +kind: Deployment +namespace: bottlenecks-kubestone +test_type: Horizontal-Scaling +scaling_steps: 10, 50, 100, 200 +template: None +metadata: + name: nginx-deployment + labels: + app: nginx +spec: + replicas: 3 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx:1.7.9 + ports: + - containerPort: 80 |