summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/kubestone/deployment_capacity.rst
blob: 06cdd886893ca2a38488c3e22cf480f320cba389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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