mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
4c63fd06c6
* Add Kubernetes yaml file deployment example * Change the Docker image tag to latest * Update latest release tag
18 lines
534 B
YAML
18 lines
534 B
YAML
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
# This name uniquely identifies the PVC. Will be used in deployment below.
|
|
name: minio-pv-claim
|
|
annotations:
|
|
volume.alpha.kubernetes.io/storage-class: anything
|
|
labels:
|
|
app: minio-storage-claim
|
|
spec:
|
|
# Read more about access modes here: http://kubernetes.io/docs/user-guide/persistent-volumes/#access-modes
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
# This is the request for storage. Should be available in the cluster.
|
|
requests:
|
|
storage: 10Gi
|