summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Carr <decarr@redhat.com>2015-03-12 09:58:02 -0400
committerDerek Carr <decarr@redhat.com>2015-03-12 09:58:02 -0400
commit0c27f19ff2d98454261fb11474aed4a2d18fd8ad (patch)
tree88486366c4b116140d3a019deff47f269ba95d3b
parentaa00e8e7f157bbf96f06ea4c92f1e69b866eca34 (diff)
parent9249c265badd7e73f415fa8a539c4f6b9ed07b5a (diff)
Merge pull request #5186 from markturansky/pv_proposal
Persistent Storage proposal edits
-rw-r--r--persistent-storage.md21
1 files changed, 15 insertions, 6 deletions
diff --git a/persistent-storage.md b/persistent-storage.md
index d9824c2a..5b84ddd2 100644
--- a/persistent-storage.md
+++ b/persistent-storage.md
@@ -34,6 +34,8 @@ Kubernetes makes no guarantees at runtime that the underlying storage exists or
Cluster administrators use the API to manage *PersistentVolumes*. The singleton PersistentVolumeManager watches the Kubernetes API for new volumes and adds them to its internal cache of volumes in the system. All persistent volumes are managed and made available by the volume manager. The manager also watches for new claims for storage and binds them to an available volume by matching the volume's characteristics (AccessModes and storage size) to the user's request.
+PVs are system objects and, thus, have no namespace.
+
Many means of dynamic provisioning will be eventually be implemented for various storage types.
@@ -41,12 +43,12 @@ Many means of dynamic provisioning will be eventually be implemented for various
| Action | HTTP Verb | Path | Description |
| ---- | ---- | ---- | ---- |
-| CREATE | POST | /api/{version}/persistentvolumes/ | Create instance of PersistentVolume in system namespace |
-| GET | GET | /api/{version}persistentvolumes/{name} | Get instance of PersistentVolume in system namespace with {name} |
-| UPDATE | PUT | /api/{version}/persistentvolumes/{name} | Update instance of PersistentVolume in system namespace with {name} |
-| DELETE | DELETE | /api/{version}/persistentvolumes/{name} | Delete instance of PersistentVolume in system namespace with {name} |
-| LIST | GET | /api/{version}/persistentvolumes | List instances of PersistentVolume in system namespace |
-| WATCH | GET | /api/{version}/watch/persistentvolumes | Watch for changes to a PersistentVolume in system namespace |
+| CREATE | POST | /api/{version}/persistentvolumes/ | Create instance of PersistentVolume |
+| GET | GET | /api/{version}persistentvolumes/{name} | Get instance of PersistentVolume with {name} |
+| UPDATE | PUT | /api/{version}/persistentvolumes/{name} | Update instance of PersistentVolume with {name} |
+| DELETE | DELETE | /api/{version}/persistentvolumes/{name} | Delete instance of PersistentVolume with {name} |
+| LIST | GET | /api/{version}/persistentvolumes | List instances of PersistentVolume |
+| WATCH | GET | /api/{version}/watch/persistentvolumes | Watch for changes to a PersistentVolume |
#### Request Storage
@@ -79,6 +81,13 @@ Scheduling constraints are to be handled similar to pod resource constraints. P
TBD
+#### Events
+
+The implementation of persistent storage will not require events to communicate to the user the state of their claim. The CLI for bound claims contains a reference to the backing persistent volume. This is always present in the API and CLI, making an event to communicate the same unnecessary.
+
+Events that communicate the state of a mounted volume are left to the volume plugins.
+
+
### Example
#### Admin provisions storage