Skip to content

Commit

Permalink
Create component based chaos workflows
Browse files Browse the repository at this point in the history
This commit creates workflows for each of the OpenShift components targeted
to make it easy for developers to test a particular component for example etcd,
prometheus, control plane etc. and also to make it easy for debugging, reviewing
results on the sippy/visualization side.

Signed-off-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com>
  • Loading branch information
chaitanyaenr committed Jul 5, 2024
1 parent bde6654 commit 9729216
Show file tree
Hide file tree
Showing 27 changed files with 306 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

chain:
as: redhat-chaos-krkn-hub-cluster-disruption
env:
- name: GC
default: "False"
- name: ITERATION_MULTIPLIER_ENV
default: "4"
- name: CHURN
default: "False"
- name: PROFILE_TYPE
default: "reporting"
steps:
- ref: openshift-qe-cluster-density-v2
- ref: redhat-chaos-power-outage
documentation: |-
This workflow executes power outage/cluster shutdown to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-cluster-disruption/redhat-chaos-krkn-hub-cluster-disruption-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: redhat-chaos-krkn-hub-cluster-disruption
steps:
test:
- chain: redhat-chaos-krkn-hub-cluster-disruption
documentation: |-
This workflow executes power outage/cluster shutdown under load to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

chain:
as: redhat-chaos-krkn-hub-console-tests
env:
- name: GC
default: "False"
- name: ITERATION_MULTIPLIER_ENV
default: "4"
- name: CHURN
default: "False"
- name: PROFILE_TYPE
default: "reporting"
steps:
- ref: openshift-qe-cluster-density-v2
- ref: redhat-chaos-application-outages-console
documentation: |-
This workflow executes console chaos scenarios to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-console-tests/redhat-chaos-krkn-hub-console-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: redhat-chaos-krkn-hub-console-tests
steps:
test:
- chain: redhat-chaos-krkn-hub-console-tests
documentation: |-
This workflow executes console chaos scenarios under load to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

chain:
as: redhat-chaos-krkn-hub-control-plane-tests
env:
- name: GC
default: "False"
- name: ITERATION_MULTIPLIER_ENV
default: "4"
- name: CHURN
default: "False"
- name: PROFILE_TYPE
default: "reporting"
steps:
- ref: openshift-qe-cluster-density-v2
- ref: redhat-chaos-node-disruptions-master-outage
- ref: redhat-chaos-network-chaos
- ref: redhat-chaos-pod-network-chaos
documentation: |-
This workflow executes control plane chaos scenarios to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-control-plane-tests/redhat-chaos-krkn-hub-control-plane-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: redhat-chaos-krkn-hub-control-plane-tests
steps:
test:
- chain: redhat-chaos-krkn-hub-control-plane-tests
documentation: |-
This workflow executes control plane chaos scenarios under load to ensure it is resilient and performant.
10 changes: 0 additions & 10 deletions ci-operator/step-registry/redhat-chaos/krkn-hub-etcd-tests/OWNERS

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ chain:
- ref: openshift-qe-cluster-density-v2
- ref: redhat-chaos-pod-scenarios-etcd-disruption
- ref: redhat-chaos-container-scenarios-etcd-hangup
- ref: redhat-chaos-time-scenarios
documentation: |-
This workflow executes etcd chaos scenarios to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

chain:
as: redhat-chaos-krkn-hub-prometheus-tests
env:
- name: GC
default: "False"
- name: ITERATION_MULTIPLIER_ENV
default: "4"
- name: CHURN
default: "False"
- name: PROFILE_TYPE
default: "reporting"
steps:
- ref: openshift-qe-cluster-density-v2
- chain: redhat-chaos-pvc-scenarios
- ref: redhat-chaos-pod-scenarios-prometheus-disruption
documentation: |-
This workflow executes prometheus chaos scenarios to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-prometheus-tests/redhat-chaos-krkn-hub-prometheus-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: redhat-chaos-krkn-hub-prometheus-tests
steps:
test:
- chain: redhat-chaos-krkn-hub-prometheus-tests
documentation: |-
This workflow executes prometheus chaos scenarios under load to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-chain.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

chain:
as: redhat-chaos-krkn-hub-worker-node-tests
env:
- name: GC
default: "False"
- name: ITERATION_MULTIPLIER_ENV
default: "4"
- name: CHURN
default: "False"
- name: PROFILE_TYPE
default: "reporting"
steps:
- ref: openshift-qe-cluster-density-v2
- chain: redhat-chaos-hog-scenarios
- ref: redhat-chaos-node-disruptions-worker-outage
documentation: |-
This workflow executes worker node chaos scenarios under load including hog ( cpu, memory, io ) and node disruption to ensure it is resilient and performant.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"path": "redhat-chaos/krkn-hub-worker-node-tests/redhat-chaos-krkn-hub-worker-node-tests-workflow.yaml",
"owners": {
"approvers": [
"chaitanyaenr",
"yogananth-subramanian",
"paigerube14",
"tsebastiani"
],
"reviewers": [
"mffiedler",
"paigerube14",
"chaitanyaenr",
"shahsahil264"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

workflow:
as: redhat-chaos-krkn-hub-worker-node-tests
steps:
test:
- chain: redhat-chaos-krkn-hub-worker-node-tests
documentation: |-
This workflow executes worker node chaos scenarios under load including hog ( cpu, memory, io ) and node disruption to ensure it is resilient and performant.

0 comments on commit 9729216

Please sign in to comment.