Skip to content

Commit 7dca576

Browse files
committed
#440 - Updating driver installation documentation
1 parent 2c0b23d commit 7dca576

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/kubernetes/user-guides/driver-install.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
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

0 commit comments

Comments
 (0)