Change rbd example to use v1

Moved some files out of a v1beta3 sub directory and converted them. Also
modified the examples test to point to the new files.
This commit is contained in:
Kris Rousey
2015-06-10 15:21:31 -07:00
parent a1840218c4
commit b6dfb919ee
5 changed files with 7 additions and 7 deletions

40
examples/rbd/rbd.json Normal file
View File

@@ -0,0 +1,40 @@
{
"apiVersion": "v1",
"id": "rbdpd",
"kind": "Pod",
"metadata": {
"name": "rbd"
},
"spec": {
"containers": [
{
"name": "rbd-rw",
"image": "kubernetes/pause",
"volumeMounts": [
{
"mountPath": "/mnt/rbd",
"name": "rbdpd"
}
]
}
],
"volumes": [
{
"name": "rbdpd",
"rbd": {
"monitors": [
"10.16.154.78:6789",
"10.16.154.82:6789",
"10.16.154.83:6789"
],
"pool": "kube",
"image": "foo",
"user": "admin",
"keyring": "/etc/ceph/keyring",
"fsType": "ext4",
"readOnly": true
}
}
]
}
}