Skip to content

Commit

Permalink
806642959: version upgraded for chaos-charts
Browse files Browse the repository at this point in the history
  • Loading branch information
litmusbot committed May 3, 2021
1 parent 273cc12 commit d5b932a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 324 deletions.
123 changes: 7 additions & 116 deletions charts/generic/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: k8-service-kill
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3
spec:
definition:
scope: Namespaced
Expand Down Expand Up @@ -614,7 +614,7 @@ metadata:
name: k8-pod-delete
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3
spec:
definition:
scope: Namespaced
Expand Down Expand Up @@ -685,7 +685,7 @@ spec:
name: k8-pod-delete
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3

---
---
Expand Down Expand Up @@ -944,115 +944,6 @@ spec:
- name: id-rsa
mountPath: /mnt/

---
apiVersion: litmuschaos.io/v1alpha1
description:
message: |
injects dns failure in target pod container
kind: ChaosExperiment
metadata:
name: pod-dns-chaos
labels:
name: pod-dns-chaos
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.4
spec:
definition:
scope: Namespaced
permissions:
- apiGroups:
- ""
- "batch"
- "apps"
- "apps.openshift.io"
- "argoproj.io"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/log"
- "replicationcontrollers"
- "deployments"
- "statefulsets"
- "daemonsets"
- "replicasets"
- "deploymentconfigs"
- "rollouts"
- "pods/exec"
- "events"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "update"
- "delete"
- "deletecollection"
image: "litmuschaos/go-runner:1.13.4"
args:
- -c
- ./experiments -name pod-dns-chaos
command:
- /bin/bash
env:

- name: TARGET_CONTAINER
value: ''

# provide lib image
- name: LIB_IMAGE
value: 'litmuschaos/go-runner:1.13.4'

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

# Time period to wait before and after injection of chaos in sec
- name: RAMP_TIME
value: ''

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

- name: TARGET_PODS
value: ''

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

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

## it defines the sequence of chaos execution for multiple target pods
## supported values: serial, parallel
- name: SEQUENCE
value: 'parallel'

# list of the target hostnames or kewywords eg. '["litmuschaos","chaosnative.io"]' . If empty all hostnames are targets
- name: TARGET_HOSTNAMES
value: ''

# can be either exact or substring, determines whether the dns query has to match exactly with one of the targets or can have any of the targets as substring
- name: MATCH_SCHEME
value: 'exact'

# currently only error chaos is supported
- name: CHAOS_TYPE
value: 'error'

labels:
experiment: pod-dns-chaos
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.4


---
apiVersion: litmuschaos.io/v1alpha1
description:
Expand Down Expand Up @@ -1970,7 +1861,7 @@ metadata:
name: disk-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3
spec:
definition:
scope: Cluster
Expand All @@ -1995,7 +1886,7 @@ spec:
- "patch"
- "update"
- "delete"
image: "litmuschaos/ansible-runner:latest"
image: "litmuschaos/ansible-runner:1.13.3"
imagePullPolicy: Always
args:
- -c
Expand Down Expand Up @@ -2044,7 +1935,7 @@ spec:
name: disk-loss
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3
secrets:
- name: cloud-secret
mountPath: /tmp/
Expand Down Expand Up @@ -2395,4 +2286,4 @@ spec:
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.4

---
---
4 changes: 2 additions & 2 deletions charts/kafka/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: kafka-broker-disk-failure
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.3
app.kubernetes.io/version: 1.13.4
spec:
definition:
scope: Cluster
Expand Down Expand Up @@ -111,7 +111,7 @@ spec:
name: kafka-broker-disk-failure
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.3
app.kubernetes.io/version: 1.13.4
secrets:
- name: kafka-broker-disk-failure
mountPath: /tmp/
Expand Down
6 changes: 3 additions & 3 deletions charts/kube-aws/experiments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ metadata:
name: k8-aws-ec2-terminate
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: chaosexperiment
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3
spec:
definition:
scope: Namespaced
Expand Down Expand Up @@ -197,7 +197,7 @@ spec:
name: k8-aws-ec2-terminate
app.kubernetes.io/part-of: litmus
app.kubernetes.io/component: experiment-job
app.kubernetes.io/version: 1.13.4
app.kubernetes.io/version: 1.13.3


---
Expand Down Expand Up @@ -371,4 +371,4 @@ spec:
- name: cloud-secret
mountPath: /tmp/

---
---
Loading

0 comments on commit d5b932a

Please sign in to comment.