Test container that continuously writes file to a directory
155
Container the writes a file every 30 seconds to a directory mounted at "/empty". Used initially to test behavior of "emptyDir" file mounts, however could be use to test any type of storage.
Example yaml for writing to emptyDir:
apiVersion: apps/v1
kind: Deployment
metadata:
name: empty-test
spec:
replicas: 1
selector:
matchLabels:
app: empty-test
template:
metadata:
labels:
app: empty-test
spec:
containers:
- image: docker.io/davidxw/emptytest
name: empty-test
volumeMounts:
- mountPath: /empty
name: empty-volume
volumes:
- name: empty-volume
emptyDir:
sizeLimit: 500Mi
Content type
Image
Digest
sha256:e1863daa0…
Size
5.5 MB
Last updated
over 3 years ago
docker pull davidxw/emptytest