From fd2bf9f03acdb8049e0d51de40942761dd49622b Mon Sep 17 00:00:00 2001 From: Shubham Minglani Date: Fri, 16 Mar 2018 14:36:23 +0530 Subject: [PATCH] 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 --- examples/minio/00-minio-deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/minio/00-minio-deployment.yaml b/examples/minio/00-minio-deployment.yaml index fd62f93ae..9d10988ab 100644 --- a/examples/minio/00-minio-deployment.yaml +++ b/examples/minio/00-minio-deployment.yaml @@ -30,8 +30,7 @@ spec: spec: volumes: - name: storage - hostPath: - path: /tmp/minio + emptyDir: {} containers: - name: minio image: minio/minio:latest