-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(experiments): Adding chaos_ns and pod_name(powerfulseal) in experiment job (#1420) * refactor(node-drain): Adding the task banner in the node-drain experiment (#1434) * refactor(container-kill): Adding the task banner in the container-kill experiment (#1422) * refactor(pod-memory-hog): Adding the task banner in the pod-memory-hog experiment (#1433) * refactor(node-memory-hog): Adding the task banner in the node-memory-hog experiment (#1432) * refactor(pod-cpu-hog): Adding the task banner in the pod-cpu-hog experiment (#1431) * refactor(node-cpu-hog): Adding the task banner in the node-cpu-hog experiment (#1430) * refactor(network-exp): Adding the task banner in the network experiment (#1429) * refactor(disk-loss): Adding the task banner in the disk-loss experiment (#1428) * refactor(disk-fill): Adding the task banner in the disk-fill experiment (#1424) * adding chaos_util env and refactor external liveness check of nfs (#1435) * adding chaos_util env * refactor(contributor-guide): Adding the task banner in the contributor guide (#1437) * feat(cassandra): Adding cassandra pod delete experiment (#1363) * refactor(pod-delete): Adding kill_count in all experiments (#1440) * feat(pod-memory-hog): Add doccumentation link of pod memory hog in README (#1427) * (Docs): Adding docs for the experiments (#1447) * adding doc links for the experiments * Minor refactor (#1446) * minor refactor of result update util (remove unused var) * refactor(openebs-exp): Adding the task banner in the openebs pod-delete experiments (#1443) * refactor(openebs-exp): Adding the task banner in the openebs pod-delete experiment * refactor(openebs-exp): Adding the task banner in the disk-loss/control-plan experiments (#1444) * refactor(openebs-exp): Adding the task banner in the disk-loss/control-plan experiment * refactor(openebs-exp): Adding the task banner in the openebs network experiment (#1442) * Adding nfs kill doc link (#1448) * adding nfs doc link * refactor(openebs-exp): Adding the task banner in the openebs container-kill experiment (#1441) * refactor(cassandra-exp): Adding the task banner in the cassandra-pod-delete experiment (#1439) * refactor(kafka-exp): Adding the task banner in the kafka-experiments experiment (#1438) * fix(openebs-exp): Fix the openebs experiments (#1451) * fix(cresult): update the cresult jinja template (#1452)
- Loading branch information
1 parent
ec3bbb5
commit 4248bdb
Showing
158 changed files
with
2,490 additions
and
1,006 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
- name: Multiply the request value with unit in KB | ||
- name: "[Prepare]: Multiply the request value with unit in KB" | ||
set_fact: | ||
req_KB: "{{ req_value.stdout|int * req_storage_KB|int }}" | ||
|
||
- name: Multiply the limit value with unit in KB | ||
- name: "[Prepare]: Multiply the limit value with unit in KB" | ||
set_fact: | ||
limit_KB: "{{ limit_value.stdout|int * limit_storage_KB|int }}" | ||
|
||
- name: Convert the fill percent | ||
- name: "[Prepare]: Convert the value in the form of percentage" | ||
set_fact: | ||
fill: "{{ fill_percentage |float / 100 }}" | ||
|
||
- name: Fill percent into storage | ||
- name: "[Prepare]: Get the fill value in the unit of KB" | ||
set_fact: | ||
to_fill: "{{ fill|float * limit_KB|float }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
- name: Block size for file creation | ||
- name: "[Prepare]: Record the Block size for the file creation" | ||
set_fact: | ||
bs: 4K | ||
|
||
- name: Count for file creation | ||
- name: "[Prepare]: Deriving the file count for creation" | ||
set_fact: | ||
fill_count: "{{ fill_storage|int / 4 }}" | ||
|
||
- name: Change count for file creation to integer | ||
- name: "[Prepare]: Converting the file count to integer" | ||
set_fact: | ||
fill_count_int: "{{ fill_count|int }}" | ||
|
||
- name: File creation | ||
- name: "[Inject]: Creating file inside the application pod" | ||
shell: > | ||
kubectl exec -it {{ disk_fill_pod.stdout }} -n {{ a_ns }} -- sh -c "cd /diskfill/{{ containerID.stdout }} && dd if=/dev/urandom of=/diskfill/{{ containerID.stdout }}/diskfill bs={{ bs }} count={{ fill_count_int }}" |
Oops, something went wrong.