Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4bc05f4f
Commit
4bc05f4f
authored
Aug 25, 2017
by
xiangpengzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove storage-class annotations in examples
parent
ca712680
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
6 additions
and
34 deletions
+6
-34
rbd-persistent-volume.yaml
...rs/kubernetes-master/templates/rbd-persistent-volume.yaml
+1
-2
cockroachdb-statefulset.yaml
examples/cockroachdb/cockroachdb-statefulset.yaml
+0
-2
cassandra-statefulset.yaml
examples/storage/cassandra/cassandra-statefulset.yaml
+1
-2
minio-distributed-statefulset.yaml
examples/storage/minio/minio-distributed-statefulset.yaml
+0
-2
minio-standalone-pvc.yaml
examples/storage/minio/minio-standalone-pvc.yaml
+0
-2
nfs-server-gce-pv.yaml
examples/volumes/nfs/provisioner/nfs-server-gce-pv.yaml
+0
-2
portworx-volume-pvcsc.yaml
examples/volumes/portworx/portworx-volume-pvcsc.yaml
+1
-2
sc-pvc.yaml
examples/volumes/scaleio/sc-pvc.yaml
+1
-2
simple-statefulset.yaml
examples/volumes/vsphere/simple-statefulset.yaml
+1
-2
vsphere-volume-pvcsc.yaml
examples/volumes/vsphere/vsphere-volume-pvcsc.yaml
+1
-2
statefulset_utils.go
test/e2e/framework/statefulset_utils.go
+0
-3
statefulset.yaml
...esting-manifests/statefulset/cockroachdb/statefulset.yaml
+0
-2
statefulset.yaml
test/e2e/testing-manifests/statefulset/etcd/statefulset.yaml
+0
-3
statefulset.yaml
...sting-manifests/statefulset/mysql-galera/statefulset.yaml
+0
-2
statefulset.yaml
.../e2e/testing-manifests/statefulset/redis/statefulset.yaml
+0
-2
statefulset.yaml
.../testing-manifests/statefulset/zookeeper/statefulset.yaml
+0
-2
No files found.
cluster/juju/layers/kubernetes-master/templates/rbd-persistent-volume.yaml
View file @
4bc05f4f
...
...
@@ -4,13 +4,12 @@ apiVersion: v1
kind
:
PersistentVolume
metadata
:
name
:
{{
RBD_NAME
}}
annotations
:
volume.beta.kubernetes.io/storage-class
:
"
rbd"
spec
:
capacity
:
storage
:
{{
RBD_SIZE
}}
M
accessModes
:
-
{{
PV_MODE
}}
storageClassName
:
"
rbd"
rbd
:
monitors
:
{
%
for host in monitors %
}
...
...
examples/cockroachdb/cockroachdb-statefulset.yaml
View file @
4bc05f4f
...
...
@@ -163,8 +163,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
-
"
ReadWriteOnce"
...
...
examples/storage/cassandra/cassandra-statefulset.yaml
View file @
4bc05f4f
...
...
@@ -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
...
...
examples/storage/minio/minio-distributed-statefulset.yaml
View file @
4bc05f4f
...
...
@@ -39,8 +39,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
data
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
-
ReadWriteOnce
...
...
examples/storage/minio/minio-standalone-pvc.yaml
View file @
4bc05f4f
...
...
@@ -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
:
...
...
examples/volumes/nfs/provisioner/nfs-server-gce-pv.yaml
View file @
4bc05f4f
...
...
@@ -4,8 +4,6 @@ metadata:
name
:
nfs-pv-provisioning-demo
labels
:
demo
:
nfs-pv-provisioning
annotations
:
volume.alpha.kubernetes.io/storage-class
:
any
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
...
...
examples/volumes/portworx/portworx-volume-pvcsc.yaml
View file @
4bc05f4f
...
...
@@ -2,11 +2,10 @@ kind: PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
pvcsc001
annotations
:
volume.beta.kubernetes.io/storage-class
:
portworx-io-priority-high
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
2Gi
storageClassName
:
portworx-io-priority-high
examples/volumes/scaleio/sc-pvc.yaml
View file @
4bc05f4f
...
...
@@ -2,11 +2,10 @@ kind: PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
pvc-sio-small
annotations
:
volume.beta.kubernetes.io/storage-class
:
sio-small
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
10Gi
storageClassName
:
sio-small
examples/volumes/vsphere/simple-statefulset.yaml
View file @
4bc05f4f
...
...
@@ -37,10 +37,9 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
www
annotations
:
volume.beta.kubernetes.io/storage-class
:
thin-disk
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
requests
:
storage
:
1Gi
storageClassName
:
thin-disk
examples/volumes/vsphere/vsphere-volume-pvcsc.yaml
View file @
4bc05f4f
...
...
@@ -2,11 +2,10 @@ kind: PersistentVolumeClaim
apiVersion
:
v1
metadata
:
name
:
pvcsc001
annotations
:
volume.beta.kubernetes.io/storage-class
:
fast
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
2Gi
storageClassName
:
fast
test/e2e/framework/statefulset_utils.go
View file @
4bc05f4f
...
...
@@ -751,9 +751,6 @@ func NewStatefulSetPVC(name string) v1.PersistentVolumeClaim {
return
v1
.
PersistentVolumeClaim
{
ObjectMeta
:
metav1
.
ObjectMeta
{
Name
:
name
,
Annotations
:
map
[
string
]
string
{
"volume.alpha.kubernetes.io/storage-class"
:
"anything"
,
},
},
Spec
:
v1
.
PersistentVolumeClaimSpec
{
AccessModes
:
[]
v1
.
PersistentVolumeAccessMode
{
...
...
test/e2e/testing-manifests/statefulset/cockroachdb/statefulset.yaml
View file @
4bc05f4f
...
...
@@ -92,8 +92,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
-
"
ReadWriteOnce"
...
...
test/e2e/testing-manifests/statefulset/etcd/statefulset.yaml
View file @
4bc05f4f
...
...
@@ -166,8 +166,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
-
"
ReadWriteOnce"
...
...
@@ -175,4 +173,3 @@ spec:
requests
:
# upstream recommended max is 700M
storage
:
1Gi
test/e2e/testing-manifests/statefulset/mysql-galera/statefulset.yaml
View file @
4bc05f4f
...
...
@@ -77,8 +77,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
...
...
test/e2e/testing-manifests/statefulset/redis/statefulset.yaml
View file @
4bc05f4f
...
...
@@ -71,8 +71,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
...
...
test/e2e/testing-manifests/statefulset/zookeeper/statefulset.yaml
View file @
4bc05f4f
...
...
@@ -78,8 +78,6 @@ spec:
volumeClaimTemplates
:
-
metadata
:
name
:
datadir
annotations
:
volume.alpha.kubernetes.io/storage-class
:
anything
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment