|
| 1 | +name: busy_cluster_burst_test |
| 2 | + |
| 3 | +{{$duration := "10m"}} |
| 4 | +{{$count := 1000}} |
| 5 | + |
| 6 | +namespace: |
| 7 | + number: 2 |
| 8 | + prefix: busy-cluster-burst-test-ns |
| 9 | + |
| 10 | +tuningSets: |
| 11 | +- name: Uniform100qps |
| 12 | + qpsLoad: |
| 13 | + qps: 100 |
| 14 | + |
| 15 | +steps: |
| 16 | +- name: Create CRPs |
| 17 | + phases: |
| 18 | + - replicasPerNamespace: 2 |
| 19 | + tuningSet: Uniform100qps |
| 20 | + objectBundle: |
| 21 | + - basename: test-crp |
| 22 | + objectTemplatePath: "manifests/test-crp.yaml" |
| 23 | +- name: Create ConfigMaps |
| 24 | + phases: |
| 25 | + - namespaceRange: |
| 26 | + min: 1 |
| 27 | + max: 2 |
| 28 | + replicasPerNamespace: {{$count}} |
| 29 | + tuningSet: Uniform100qps |
| 30 | + objectBundle: |
| 31 | + - basename: test-configmap |
| 32 | + objectTemplatePath: "manifests/test-configmap.yaml" |
| 33 | +- name: Wait for CRPs to be Ready |
| 34 | + measurements: |
| 35 | + - Identifier: WaitForGenericK8sObjects |
| 36 | + Method: WaitForGenericK8sObjects |
| 37 | + Params: |
| 38 | + objectGroup: placement.kubernetes-fleet.io |
| 39 | + objectVersion: v1beta1 |
| 40 | + objectResource: clusterresourceplacements |
| 41 | + timeout: {{$duration}} |
| 42 | + successfulConditions: |
| 43 | + - ClusterResourcePlacementAvailable=True |
| 44 | + failedConditions: |
| 45 | + - ClusterResourcePlacementAvailable=False |
| 46 | + minDesiredObjectCount: 2 |
| 47 | + maxFailedObjectCount: 0 |
| 48 | +- name: Delete ConfigMaps |
| 49 | + phases: |
| 50 | + - namespaceRange: |
| 51 | + min: 1 |
| 52 | + max: 2 |
| 53 | + replicasPerNamespace: 0 |
| 54 | + tuningSet: Uniform100qps |
| 55 | + objectBundle: |
| 56 | + - basename: test-configmap |
| 57 | + objectTemplatePath: "manifests/test-configmap.yaml" |
| 58 | +- name: Wait for CRPs to be Ready |
| 59 | + measurements: |
| 60 | + - Identifier: WaitForGenericK8sObjects |
| 61 | + Method: WaitForGenericK8sObjects |
| 62 | + Params: |
| 63 | + objectGroup: placement.kubernetes-fleet.io |
| 64 | + objectVersion: v1beta1 |
| 65 | + objectResource: clusterresourceplacements |
| 66 | + timeout: {{$duration}} |
| 67 | + successfulConditions: |
| 68 | + - ClusterResourcePlacementAvailable=True |
| 69 | + failedConditions: |
| 70 | + - ClusterResourcePlacementAvailable=False |
| 71 | + minDesiredObjectCount: 2 |
| 72 | + maxFailedObjectCount: 0 |
| 73 | +- name: Create ConfigMaps |
| 74 | + phases: |
| 75 | + - namespaceRange: |
| 76 | + min: 1 |
| 77 | + max: 2 |
| 78 | + replicasPerNamespace: {{$count}} |
| 79 | + tuningSet: Uniform100qps |
| 80 | + objectBundle: |
| 81 | + - basename: test-configmap |
| 82 | + objectTemplatePath: "manifests/test-configmap.yaml" |
| 83 | +- name: Wait for CRPs to be Ready |
| 84 | + measurements: |
| 85 | + - Identifier: WaitForGenericK8sObjects |
| 86 | + Method: WaitForGenericK8sObjects |
| 87 | + Params: |
| 88 | + objectGroup: placement.kubernetes-fleet.io |
| 89 | + objectVersion: v1beta1 |
| 90 | + objectResource: clusterresourceplacements |
| 91 | + timeout: {{$duration}} |
| 92 | + successfulConditions: |
| 93 | + - ClusterResourcePlacementAvailable=True |
| 94 | + failedConditions: |
| 95 | + - ClusterResourcePlacementAvailable=False |
| 96 | + minDesiredObjectCount: 2 |
| 97 | + maxFailedObjectCount: 0 |
| 98 | +- name: Delete ConfigMaps |
| 99 | + phases: |
| 100 | + - namespaceRange: |
| 101 | + min: 1 |
| 102 | + max: 2 |
| 103 | + replicasPerNamespace: 0 |
| 104 | + tuningSet: Uniform100qps |
| 105 | + objectBundle: |
| 106 | + - basename: test-configmap |
| 107 | + objectTemplatePath: "manifests/test-configmap.yaml" |
| 108 | +- name: Wait for CRPs to be Ready |
| 109 | + measurements: |
| 110 | + - Identifier: WaitForGenericK8sObjects |
| 111 | + Method: WaitForGenericK8sObjects |
| 112 | + Params: |
| 113 | + objectGroup: placement.kubernetes-fleet.io |
| 114 | + objectVersion: v1beta1 |
| 115 | + objectResource: clusterresourceplacements |
| 116 | + timeout: {{$duration}} |
| 117 | + successfulConditions: |
| 118 | + - ClusterResourcePlacementAvailable=True |
| 119 | + failedConditions: |
| 120 | + - ClusterResourcePlacementAvailable=False |
| 121 | + minDesiredObjectCount: 2 |
| 122 | + maxFailedObjectCount: 0 |
0 commit comments