Skip to content

Commit

Permalink
chore(experiments): Replaces default container runtime to containerd (#…
Browse files Browse the repository at this point in the history
…640)

* replaces default container runtime to containerd

Signed-off-by: neelanjan00 <[email protected]>
  • Loading branch information
neelanjan00 authored Mar 14, 2023
1 parent f8b370e commit a1c85ca
Show file tree
Hide file tree
Showing 49 changed files with 64 additions and 214 deletions.
2 changes: 0 additions & 2 deletions experiments/aws-ssm/aws-ssm-chaos-by-id/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ spec:
- sleep
- "3600"
env:
- name: LIB
value: 'litmus'

- name: EC2_INSTANCE_ID
value: ''
Expand Down
2 changes: 0 additions & 2 deletions experiments/aws-ssm/aws-ssm-chaos-by-tag/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ spec:
- sleep
- "3600"
env:
- name: LIB
value: 'litmus'

- name: EC2_INSTANCE_TAG
value: ''
Expand Down
5 changes: 0 additions & 5 deletions experiments/azure/azure-disk-loss/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## default: litmus
- name: LIB
value: 'litmus'

# provide the chaos namespace
- name: CHAOS_NAMESPACE
value: 'litmus'
Expand Down
3 changes: 0 additions & 3 deletions experiments/azure/instance-stop/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ spec:

- name: CHAOS_INTERVAL
value: '30'

- name: LIB
value: 'litmus'

- name: CHAOS_NAMESPACE
value: 'litmus'
Expand Down
5 changes: 0 additions & 5 deletions experiments/baremetal/redfish-node-restart/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## default: litmus.
- name: LIB
value: 'litmus'

- name: AUXILIARY_APPINFO
value: ''

Expand Down
3 changes: 0 additions & 3 deletions experiments/cassandra/pod-delete/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ spec:
- name: FORCE
value: 'true'

- name: LIB
value: 'litmus'

- name: CHAOS_NAMESPACE
value: ''

Expand Down
5 changes: 0 additions & 5 deletions experiments/gcp/gcp-vm-disk-loss-by-label/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
- name: LIB
value: ''

# provide the chaos namespace
- name: CHAOS_NAMESPACE
value: ''
Expand Down
5 changes: 0 additions & 5 deletions experiments/gcp/gcp-vm-disk-loss/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
- name: LIB
value: 'litmus'

# provide the chaos namespace
- name: CHAOS_NAMESPACE
value: 'default'
Expand Down
5 changes: 0 additions & 5 deletions experiments/gcp/gcp-vm-instance-stop-by-label/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
- name: LIB
value: ''

# provide the chaos namespace
- name: CHAOS_NAMESPACE
value: ''
Expand Down
2 changes: 0 additions & 2 deletions experiments/gcp/gcp-vm-instance-stop/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ spec:
- sleep
- "3600"
env:
- name: LIB
value: 'litmus'

- name: GCP_PROJECT_ID
value: ''
Expand Down
7 changes: 2 additions & 5 deletions experiments/generic/container-kill/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,16 @@ spec:
- name: RAMP_TIME
value: ''

- name: LIB
value: 'litmus'

# provide the container runtime path
# applicable only for containerd and crio runtime
- name: SOCKET_PATH
value: '/run/containerd/containerd.sock'

# provide the name of container runtime
# it supports docker, containerd, crio
# default to docker
# defaults to containerd
- name: CONTAINER_RUNTIME
value: 'docker'
value: 'containerd'

## percentage of total pods to target
- name: PODS_AFFECTED_PERC
Expand Down
3 changes: 0 additions & 3 deletions experiments/generic/disk-fill/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ spec:
- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'

- name: TARGET_POD
value: ''

Expand Down
5 changes: 0 additions & 5 deletions experiments/generic/docker-service-kill/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ spec:
- name: RAMP_TIME
value: ""

## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
- name: LIB
value: ""

# provide the chaos namespace
- name: CHAOS_NAMESPACE
value: ""
Expand Down
3 changes: 0 additions & 3 deletions experiments/generic/kubelet-service-kill/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ spec:
- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'

- name: CHAOS_NAMESPACE
value: 'default'

Expand Down
3 changes: 0 additions & 3 deletions experiments/generic/node-cpu-hog/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ spec:
- name: NODE_CPU_CORE
value: '1'

- name: LIB
value: 'litmus'

- name: LIB_IMAGE
value: 'litmuschaos/go-runner:ci'

Expand Down
3 changes: 0 additions & 3 deletions experiments/generic/node-drain/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ spec:
- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'

- name: CHAOS_NAMESPACE
value: 'default'

Expand Down
3 changes: 0 additions & 3 deletions experiments/generic/node-io-stress/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ spec:
- name: NUMBER_OF_WORKERS
value: '4'

- name: LIB
value: 'litmus'

- name: LIB_IMAGE
value: 'litmuschaos/go-runner:ci'

Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/node-memory-hog/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ spec:

# in MB
- name: MEMORY_PERCENTAGE
value: '500'

- name: LIB
value: 'litmus'
value: '500'

- name: LIB_IMAGE
value: 'litmuschaos/go-runner:ci'
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/node-restart/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ spec:
value: '60'

- name: CHAOS_INTERVAL
value: '10'

- name: LIB
value: 'litmus'
value: '10'

- name: LIB_IMAGE
value: 'litmuschaos/go-runner:ci'
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/node-taint/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ spec:
value: ''

- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'
value: '60'

- name: CHAOS_NAMESPACE
value: 'default'
Expand Down
5 changes: 0 additions & 5 deletions experiments/generic/pod-autoscaler/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ spec:
- name: RAMP_TIME
value: ''

## env var that describes the library used to execute the chaos
## Only supported litmus
- name: LIB
value: 'litmus'

- name: CHAOS_SERVICE_ACCOUNT
valueFrom:
fieldRef:
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/pod-cpu-hog-exec/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ spec:

## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: '100'

- name: LIB
value: 'litmus'
value: '100'

- name: TARGET_POD
value: ''
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/pod-cpu-hog/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ spec:

## Percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: '100'

- name: LIB
value: 'litmus'
value: '100'

- name: TARGET_POD
value: ''
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/pod-delete/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ spec:
value: '10'

- name: FORCE
value: ''

- name: LIB
value: 'litmus'
value: ''

- name: TARGET_POD
value: ''
Expand Down
11 changes: 4 additions & 7 deletions experiments/generic/pod-dns-error/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ spec:

# in sec
- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'
value: '60'

- name: TARGET_PODS
value: ''
Expand All @@ -68,13 +65,13 @@ spec:

# provide the name of container runtime
# it supports docker, containerd, crio
# default to docker
# defaults to containerd
- name: CONTAINER_RUNTIME
value: 'docker'
value: 'containerd'

# provide the container runtime path
- name: SOCKET_PATH
value: '/var/run/docker.sock'
value: '/run/containerd/containerd.sock'

- name: CHAOS_SERVICE_ACCOUNT
valueFrom:
Expand Down
11 changes: 4 additions & 7 deletions experiments/generic/pod-dns-spoof/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ spec:

# in sec
- name: TOTAL_CHAOS_DURATION
value: '60'

- name: LIB
value: 'litmus'
value: '60'

- name: TARGET_PODS
value: ''
Expand All @@ -64,13 +61,13 @@ spec:

# provide the name of container runtime
# it supports docker, containerd, crio
# default to docker
# defaults to containerd
- name: CONTAINER_RUNTIME
value: 'docker'
value: 'containerd'

# provide the container runtime path
- name: SOCKET_PATH
value: '/var/run/docker.sock'
value: '/run/containerd/containerd.sock'

- name: CHAOS_SERVICE_ACCOUNT
valueFrom:
Expand Down
5 changes: 1 addition & 4 deletions experiments/generic/pod-fio-stress/test/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ spec:

## Period to wait before injection of chaos in sec
- name: RAMP_TIME
value: ''

- name: LIB
value: 'litmus'
value: ''

# provide the chaos namespace
- name: CHAOS_NAMESPACE
Expand Down
11 changes: 3 additions & 8 deletions experiments/generic/pod-http-latency/test/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ spec:
- name: RAMP_TIME
value: ''

# lib can be litmus or pumba
- name: LIB
value: 'litmus'

## percentage of total pods to target
- name: PODS_AFFECTED_PERC
value: ''
Expand All @@ -79,14 +75,13 @@ spec:
value: ''

# provide the name of container runtime
# for litmus LIB, it supports docker, containerd, crio
# for pumba LIB, it supports docker only
# it supports docker, containerd, and crio
- name: CONTAINER_RUNTIME
value: 'docker'
value: 'containerd'

# provide the socket file path
- name: SOCKET_PATH
value: '/var/run/docker.sock'
value: '/run/containerd/containerd.sock'

# To select pods on specific node(s)
- name: NODE_LABEL
Expand Down
Loading

0 comments on commit a1c85ca

Please sign in to comment.