Skip to content

Commit ba554e3

Browse files
authored
Merge pull request kubernetes-csi#1162 from mjnagel/patch-1
docs: update install commands for CRDs + snapshotter
2 parents 3ae1f49 + 546950f commit ba554e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ Therefore, it is strongly recommended that Kubernetes distributors bundle and de
6767
If your Kubernetes distribution does not bundle the snapshot controller, you may manually install these components by executing the following steps. Note that the snapshot controller YAML files in the git repository deploy into the default namespace for system testing purposes. For general use, update the snapshot controller YAMLs with an appropriate namespace prior to installing. For example, on a Vanilla Kubernetes cluster update the namespace from 'default' to 'kube-system' prior to issuing the kubectl create command.
6868

6969
Install Snapshot and Volume Group Snapshot CRDs:
70-
* kubectl kustomize client/config/crd | kubectl create -f -
71-
* https://github.com/kubernetes-csi/external-snapshotter/tree/master/client/config/crd
70+
* With the repo cloned locally: `kubectl kustomize client/config/crd | kubectl create -f -`
71+
* From the repo remotely: `kubectl kustomize https://github.com/kubernetes-csi/external-snapshotter/client/config/crd | kubectl create -f -`
7272
* Do this once per cluster
7373

7474
Install Common Snapshot Controller:
7575
* Update the namespace to an appropriate value for your environment (e.g. kube-system)
76-
* kubectl -n kube-system kustomize deploy/kubernetes/snapshot-controller | kubectl create -f -
76+
* `kubectl -n kube-system kustomize deploy/kubernetes/snapshot-controller | kubectl create -f -`
7777
* Do this once per cluster
7878

7979
Install CSI Driver:
8080
* Follow instructions provided by your CSI Driver vendor.
8181
* Here is an example to install the sample hostpath CSI driver
82-
* kubectl kustomize deploy/kubernetes/csi-snapshotter | kubectl create -f -
83-
* https://github.com/kubernetes-csi/external-snapshotter/tree/master/deploy/kubernetes/csi-snapshotter
82+
* With the repo cloned locally: `kubectl kustomize deploy/kubernetes/csi-snapshotter | kubectl create -f -`
83+
* From the repo remotely: `kubectl kustomize https://github.com/kubernetes-csi/external-snapshotter/deploy/kubernetes/csi-snapshotter | kubectl create -f -`
8484

8585
##### Volume Snapshot
8686

0 commit comments

Comments
 (0)