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
Copy file name to clipboardExpand all lines: docs/kubernetes/user-guides/snapshots.md
+76-16Lines changed: 76 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,11 @@
1
1
# Kubernetes Snapshots User Guide (Alpha)
2
2
3
+
>**Attention:** VolumeSnapshot is an alpha feature. Make sure you have enabled it in Kubernetes API server using `--feature-gates=VolumeSnapshotDataSource=true` flag.
4
+
3
5
### Install Driver with alpha snapshot feature
4
6
5
7
1.[One-time per project] Create GCP service account for the CSI driver and set required roles
8
+
6
9
```
7
10
$ PROJECT=your-project-here # GCP project
8
11
$ GCE_PD_SA_NAME=my-gce-pd-csi-sa # Name of the service account to create
@@ -11,6 +14,7 @@ $ ./deploy/setup-project.sh
11
14
```
12
15
13
16
2. Deploy driver to Kubernetes Cluster
17
+
14
18
```
15
19
$ GCE_PD_SA_DIR=/my/safe/credentials/directory # Directory to get the service account key
16
20
$ GCE_PD_DRIVER_VERSION=alpha # Driver version to deploy
Create a sample pod with the source PVC. The source PVC is mounted into `/demo/data` directory of this pod. This pod will create a file `sample-file.txt` in `/demo/data` directory.
0 commit comments