summaryrefslogtreecommitdiffstats
path: root/docs/testing
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-09-07 15:00:15 +0800
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-09-07 15:08:23 +0800
commitbd6b34bd9ed2d7feaa6fd74051b14a9d8ecf446a (patch)
tree6897c0f346aff21d8c0543c69e0ece058c7b36bf /docs/testing
parent27d82af1145673330eddbe80eb39c47d93322cbe (diff)
docs for k8s capcaity test
JIRA: BOTTLENECK-245 Change-Id: Id7a0a9bfdebea8a9655e744ce9edf3963e61a024 Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'docs/testing')
-rw-r--r--docs/testing/user/userguide/kubestone/deployment_capacity.rst59
-rw-r--r--docs/testing/user/userguide/overview.rst46
-rw-r--r--docs/testing/user/userguide/test_cases.rst1
-rw-r--r--docs/testing/user/userguide/test_scheduler_user_guide.rst (renamed from docs/testing/user/userguide/testing_scheduler_user_guide.rst)0
4 files changed, 85 insertions, 21 deletions
diff --git a/docs/testing/user/userguide/kubestone/deployment_capacity.rst b/docs/testing/user/userguide/kubestone/deployment_capacity.rst
new file mode 100644
index 00000000..06cdd886
--- /dev/null
+++ b/docs/testing/user/userguide/kubestone/deployment_capacity.rst
@@ -0,0 +1,59 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+ .. http://creativecommons.org/licenses/by/4.0
+ .. (c) Huawei Technologies Co.,Ltd and others.
+
+***************************************************
+Kubenetes Stress Test of Deployment Capacity
+***************************************************
+
+Test Case
+=========
+
++-----------------------------------------------------------------------------+
+|Bottlenecks Kubestone Deployment Capacity Test |
+| |
++--------------+--------------------------------------------------------------+
+|test case name| kubestone_deployment_capacity |
+| | |
++--------------+--------------------------------------------------------------+
+|description | Stress test regarding capacity of deployment |
++--------------+--------------------------------------------------------------+
+|configuration | config file: |
+| | testsuite/kubestone/testcases/deployment.yaml |
+| | |
+| | |
++--------------+--------------------------------------------------------------+
+|test result | Capcity, Life-Cycle Duration, Available Deployments |
+| | |
++--------------+--------------------------------------------------------------+
+
+Configuration
+============
+::
+
+ 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
+
diff --git a/docs/testing/user/userguide/overview.rst b/docs/testing/user/userguide/overview.rst
index 725a4b9d..a03229f0 100644
--- a/docs/testing/user/userguide/overview.rst
+++ b/docs/testing/user/userguide/overview.rst
@@ -57,30 +57,34 @@ Integration Description
+-------------+----------------------+----------------------+
| Fraser | Any | POSCA |
+-------------+----------------------+----------------------+
+| Gambia | Any | POSCA, kubestone |
++-------------+----------------------+----------------------+
Test suite & Test case Description
==================================
-+--------+----+-------------------------------------------+
-|POSCA | 1 | posca_factor_ping |
-| +----+-------------------------------------------+
-| | 2 | posca_factor_system_bandwidth |
-| +----+-------------------------------------------+
-| | 3 | posca_facotor_soak_througputs |
-| +----+-------------------------------------------+
-| | 4 | posca_feature_vnf_scale_up |
-| +----+-------------------------------------------+
-| | 5 | posca_feature_vnf_scale_out |
-| +----+-------------------------------------------+
-| | 6 | posca_factor_storperf |
-| +----+-------------------------------------------+
-| | 7 | posca_factor_multistack_storage_parallel |
-| +----+-------------------------------------------+
-| | 8 | posca_factor_multistack_storage |
-| +----+-------------------------------------------+
-| | 9 | posca_feature_moon_resources |
-| +----+-------------------------------------------+
-| | 10 | posca_feature_moon_tenants |
-+--------+----+-------------------------------------------+
++----------+----+-------------------------------------------+
+|POSCA | 1 | posca_factor_ping |
+| +----+-------------------------------------------+
+| | 2 | posca_factor_system_bandwidth |
+| +----+-------------------------------------------+
+| | 3 | posca_facotor_soak_througputs |
+| +----+-------------------------------------------+
+| | 4 | posca_feature_vnf_scale_up |
+| +----+-------------------------------------------+
+| | 5 | posca_feature_vnf_scale_out |
+| +----+-------------------------------------------+
+| | 6 | posca_factor_storperf |
+| +----+-------------------------------------------+
+| | 7 | posca_factor_multistack_storage_parallel |
+| +----+-------------------------------------------+
+| | 8 | posca_factor_multistack_storage |
+| +----+-------------------------------------------+
+| | 9 | posca_feature_moon_resources |
+| +----+-------------------------------------------+
+| | 10 | posca_feature_moon_tenants |
++----------+----+-------------------------------------------+
+|Kubestone | 1 | deployment_capacity |
++----------+----+-------------------------------------------+
As for the abandoned test suite in the previous Bottlenecks releases, please
refer to http://docs.opnfv.org/en/stable-danube/submodules/bottlenecks/docs/testing/user/userguide/deprecated.html.
diff --git a/docs/testing/user/userguide/test_cases.rst b/docs/testing/user/userguide/test_cases.rst
index b6b1d17f..20003414 100644
--- a/docs/testing/user/userguide/test_cases.rst
+++ b/docs/testing/user/userguide/test_cases.rst
@@ -18,3 +18,4 @@ Bottlenecks - Test Cases
./posca/posca_feature_moon_resources.rst
./posca/posca_feature_moon_tenants.rst
./posca/posca_feature_vnf_scale_out.rst
+ ./kubestone/deployment_capacity.rst
diff --git a/docs/testing/user/userguide/testing_scheduler_user_guide.rst b/docs/testing/user/userguide/test_scheduler_user_guide.rst
index 9820810e..9820810e 100644
--- a/docs/testing/user/userguide/testing_scheduler_user_guide.rst
+++ b/docs/testing/user/userguide/test_scheduler_user_guide.rst