Change minio volume to emptyDir from hostPath

This commit changes the type of volume mounted inside the minio pod
from hostPath to emptyDir. This is done because minio requires
at least 1Gi to start, but the default hostPath under /tmp in
minishift does not have enough capacity.

Fixes #382

Signed-off-by: Shubham <shubham@linux.com>
This commit is contained in:
Shubham Minglani
2018-03-16 14:36:23 +05:30
committed by Shubham
parent 3172e907a1
commit fd2bf9f03a

View File

@@ -30,8 +30,7 @@ spec:
spec:
volumes:
- name: storage
hostPath:
path: /tmp/minio
emptyDir: {}
containers:
- name: minio
image: minio/minio:latest