mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-13 06:50:10 +01:00
feat(e2e-test): Add e2e-tests for zfs-localpv (#298)
Signed-off-by: w3aman <aman.gupta@mayadata.io>
This commit is contained in:
parent
53f872fcf1
commit
4e73638b5a
137 changed files with 8745 additions and 0 deletions
37
e2e-tests/chaoslib/pumba/pumba.yml
Normal file
37
e2e-tests/chaoslib/pumba/pumba.yml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: pumba
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: pumba
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: pumba
|
||||
com.gaiaadm.pumba: "true" # prevent pumba from killing itself
|
||||
name: pumba
|
||||
spec:
|
||||
containers:
|
||||
- image: gaiaadm/pumba:0.4.8
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: pumba
|
||||
# Pumba command: modify it to suite your needs
|
||||
# Dry run: Randomly try to kill some container every 3 minutes
|
||||
command: ["pumba", "--dry", "--random", "--interval", "3m", "kill", "--signal", "SIGTERM"]
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 5M
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 20M
|
||||
volumeMounts:
|
||||
- name: dockersocket
|
||||
mountPath: /var/run/docker.sock
|
||||
volumes:
|
||||
- hostPath:
|
||||
path: /var/run/docker.sock
|
||||
name: dockersocket
|
||||
Loading…
Add table
Add a link
Reference in a new issue