You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository hosts the API defintion of the Custom Resource Definitions (CRD) used for the Container Object Storage Interface (COSI) project. The provisioned unit of storage is a `Bucket`. The following CRDs are defined for managing the lifecycle of Buckets:
7
7
8
8
- BucketRequest - Represents a request to provision a Bucket
9
9
- BucketClass - Represents a class of Buckets with similar characteristics
10
10
- Bucket - Represents a Bucket or its equivalent in the storage backend
11
-
12
-
The following CRDs are defined for managing the lifecycle of workloads accessing the Bucket:
13
-
11
+
12
+
The following CRDs are defined for managing the lifecycle of workloads accessing the Bucket:
13
+
14
14
- BucketAccessRequest - Represents a request to access a Bucket
15
-
- BucketAccessClass - Represents a class of accesors with similar access requirements
16
-
- BucketAccess - Represents a access token or service account in the storage backend
15
+
- BucketAccessClass - Represents a class of accessors with similar access requirements
16
+
- BucketAccess - Represents a access token or service account in the storage backend
17
17
18
18
**NOTE**: All of the APIs are defined under the API group `objectstorage.k8s.io`.
19
19
@@ -25,7 +25,7 @@ All API definitions are in [`apis/objectstorage.k8s.io/`](./apis/objectstorage.k
25
25
26
26
- Must be backwards compatible
27
27
- Must be in-sync with the API definitions in [sigs.k8s.io/container-object-storage-interface-spec](https://github.com/kubernetes-sigs/container-object-storage-interface-spec)
28
-
28
+
29
29
### Build and Test
30
30
31
31
1. Test and Build the project
@@ -44,28 +44,28 @@ make codegen
44
44
45
45
1. Create a new issue raising a RFC for the changes following this format:
46
46
47
-
Title: [RFC] Changes to protocol xyz
47
+
Title: [RFC] Changes to protocol xyz
48
48
> **Info**:
49
-
> 1. Protocol:
49
+
> 1. Protocol:
50
50
> 2. Fields Added:
51
51
> 3. Why is this change neccessary?
52
52
> ...(describe why here)...
53
53
> 4. Which other COSI projects are affected by this change?
COSI acts on following custom resource definitions (CRDs):
38
+
39
+
-`BucketRequest` - Represents a request to provision a Bucket
40
+
-`BucketClass` - Represents a class of Buckets with similar characteristics
41
+
-`Bucket` - Represents a Bucket or its equivalent in the storage backend
42
+
-`BucketAccessRequest` - Represents a request to access a Bucket
43
+
-`BucketAccessClass` - Represents a class of accessors with similar access requirements
44
+
-`BucketAccess` - Represents a access token or service account in the storage backend
45
+
46
+
All [COSI custom resource definitions](../crds) can be installed using [kustomization file](../kustomization.yaml) and `kubectl` with following command:
COSI controller can be setup using the [kustomization file](https://github.com/kubernetes-sigs/container-object-storage-interface-controller/blob/master/kustomization.yaml) from the [container-object-storage-interface-controller](https://github.com/kubernetes-sigs/container-object-storage-interface-controller) repository with following command:
The controller will be deployed in the `default` namespace.
61
+
62
+
### Sample Driver & Sidecar
63
+
64
+
Sample Driver & Sidecar can be setup using the [kustomization file](https://github.com/kubernetes-sigs/container-object-storage-interface-provisioner-sidecar/blob/master/kustomization.yaml) from the [container-object-storage-interface-provisioner-sidecar](https://github.com/kubernetes-sigs/container-object-storage-interface-provisioner-sidecar) repository with following command:
Node adapter can be setup using the [kustomization file](https://github.com/kubernetes-sigs/container-object-storage-interface-csi-adapter/blob/master/kustomization.yaml) from the [container-object-storage-interface-csi-adapter](https://github.com/kubernetes-sigs/container-object-storage-interface-csi-adapter) repository with following command:
0 commit comments