Remove storage-class annotations in examples

This commit is contained in:
xiangpengzhao
2017-08-25 10:47:23 +08:00
parent ca712680c7
commit 4bc05f4fc2
16 changed files with 6 additions and 34 deletions

View File

@@ -82,13 +82,12 @@ spec:
volumeClaimTemplates:
- metadata:
name: cassandra-data
annotations:
volume.beta.kubernetes.io/storage-class: fast
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
storageClassName: fast
---
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1

View File

@@ -39,8 +39,6 @@ spec:
volumeClaimTemplates:
- metadata:
name: data
annotations:
volume.alpha.kubernetes.io/storage-class: anything
spec:
accessModes:
- ReadWriteOnce

View File

@@ -3,8 +3,6 @@ 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: