Update Kubernetes example yaml files (#5278)

Removed the non production ready Kubernetes constructs that are not needed
for standard Minio deployment. General cleanup of the documents.
This commit is contained in:
Nitish Tiwari
2017-12-12 10:29:00 +05:30
committed by GitHub
parent 2853fa1882
commit 8c08571cd9
5 changed files with 46 additions and 41 deletions

View File

@@ -1,16 +1,18 @@
apiVersion: apps/v1beta1
kind: StatefulSet
metadata:
# This name uniquely identifies the StatefulSet
name: minio
spec:
serviceName: minio
replicas: 4
selector:
matchLabels:
app: minio # has to match .spec.template.metadata.labels
template:
metadata:
annotations:
pod.alpha.kubernetes.io/initialized: "true"
labels:
app: minio
app: minio # has to match .spec.selector.matchLabels
spec:
containers:
- name: minio
@@ -39,8 +41,6 @@ spec:
volumeClaimTemplates:
- metadata:
name: data
annotations:
volume.alpha.kubernetes.io/storage-class: anything
spec:
accessModes:
- ReadWriteOnce