File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
docs/kubernetes/user-guides Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
33## Install Driver
44
5- 1 . [ One-time per project] Create GCP service account for the CSI driver and set required roles
5+ 1 . Clone the driver to your local machine
6+ ```
7+ $ git clone https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver $GOPATH/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
8+ ```
9+
10+ 2 . [ One-time per project] Create GCP service account for the CSI driver and set required roles
611```
712$ PROJECT=your-project-here # GCP project
813$ GCE_PD_SA_NAME=my-gce-pd-csi-sa # Name of the service account to create
914$ GCE_PD_SA_DIR=/my/safe/credentials/directory # Directory to save the service account key
1015$ ./deploy/setup-project.sh
1116```
1217
13- 2 . Deploy driver to Kubernetes Cluster
18+ 3 . Deploy driver to Kubernetes Cluster
1419```
1520$ GCE_PD_SA_DIR=/my/safe/credentials/directory # Directory to get the service account key
1621$ GCE_PD_DRIVER_VERSION=stable # Driver version to deploy
You can’t perform that action at this time.
0 commit comments