Skip to content

Commit 1fd7e98

Browse files
authored
Merge pull request #4 from opencurve/spy-dev-snapshot
Spy dev snapshot
2 parents e822425 + ed5f29b commit 1fd7e98

8 files changed

Lines changed: 41 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v2.0.0
2+
3+
- support snapshot
4+
- support clone/restore
5+
16
## v2.0.0-alpha
27

38
- update csi spec to v1.5.0

charts/curve-csi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 0.1.0
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v2.0.0-alpha"
24+
appVersion: "v2.0.0"

charts/curve-csi/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nodeplugin:
99
hostDir: /var/log/curve-csi-node
1010

1111
plugin:
12-
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0-alpha
12+
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0
1313
# add resources limit
1414
resources: {}
1515

@@ -39,7 +39,7 @@ controllerplugin:
3939
hostDir: /var/log/curve-csi-controller
4040

4141
plugin:
42-
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0-alpha
42+
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0
4343
# add resources limit
4444
resources: {}
4545

deploy/manifests/node-plugin-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
capabilities:
4545
add: ["SYS_ADMIN"]
4646
allowPrivilegeEscalation: true
47-
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0-alpha
47+
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0
4848
args:
4949
- --endpoint=$(CSI_ENDPOINT)
5050
- --drivername=curve.csi.netease.com

deploy/manifests/provisioner-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ spec:
100100
privileged: true
101101
capabilities:
102102
add: ["SYS_ADMIN"]
103-
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0-alpha
103+
image: harbor.cloud.netease.com/qzprod-k8s/k8scsi/curve-csi:v2.0.0
104104
args:
105105
- --endpoint=$(CSI_ENDPOINT)
106106
- --drivername=curve.csi.netease.com

docs/curve-interface/curve-cli.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Curve CLI
22

3+
- [Create a directory](#create-a-directory)
4+
- [Delete a directory](#delete-a-directory)
5+
- [Create a volume](#create-a-volume)
6+
- [Extend a volume](#extend-a-volume)
7+
- [Get the volume information](#get-the-volume-information)
8+
- [List the volumes in a directory](#list-the-volumes-in-a-directory)
9+
- [Delete a volume](#delete-a-volume)
10+
- [Code Comparison](#code-comparison)
11+
312
### Create a directory
413

514
`curve mkdir [-h] --user USER --dirname DIRNAME`

docs/curve-interface/curve-nbd.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Map/unmap the curve device.
44

5+
- [Usage](#usage)
6+
- [Map](#map)
7+
- [List mapped](#list-mapped)
8+
- [Unmap](#unmap)
9+
510
### Usage
611

712
```

docs/curve-interface/snapshot-clone-service.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Curve Snapshot/Clone Interface
22

3+
- [Create a snapshot](#create-a-snapshot)
4+
- [Delete a snapshot](#delete-a-snapshot)
5+
- [Cancel a snapshot](#cancel-a-snapshot)
6+
- [Query the snapshot information](#query-the-snapshot-information)
7+
- [Clone](#clone)
8+
- [Volume recover from a snapshot](#volume-recover-from-a-snapshot)
9+
- [Flatten](#flatten)
10+
- [Query the information of the specific clone or recover task](#query-the-information-of-the-specific-clone-or-recover-task)
11+
- [Clean a clone or recover task](#clean-a-clone-or-recover-task)
12+
- [Code Comparison](#code-comparison)
13+
14+
315
## Create a snapshot
416

517
| Method | Url |
@@ -209,7 +221,7 @@ Content-Length: xxx
209221
}
210222
```
211223

212-
## Clone
224+
## Clone
213225

214226
| Method | Url |
215227
| --- | --- |
@@ -303,7 +315,7 @@ Content-Length: xxx
303315
}
304316
```
305317

306-
## Flatten: recover lazy-cloned volume
318+
## Flatten
307319

308320
| Method | Url |
309321
| --- | --- |
@@ -346,7 +358,7 @@ Content-Length: xxx
346358
}
347359
```
348360

349-
## Query the information of the specific clone/recover task
361+
## Query the information of the specific clone or recover task
350362

351363
Get all tasks of the specific user, you can limit with:
352364

@@ -424,7 +436,7 @@ Content-Length: xxx
424436
}
425437
```
426438

427-
## Clean a clone/recover task
439+
## Clean a clone or recover task
428440

429441
Clean the clone/recover task. Delete the temporary cloned file in curvefs server if the task has been failed, otherwise delete the task only.
430442

@@ -469,7 +481,7 @@ Content-Length: xxx
469481
}
470482
```
471483

472-
## Code Comparison
484+
## Code Comparison
473485

474486
|Code |Message | HTTP Status Code| Description |
475487
| --- | --- | --- | --- |

0 commit comments

Comments
 (0)