Skip to content

Commit d2e539a

Browse files
author
dtumkursreenivas
committed
doc update
1 parent a7a88c4 commit d2e539a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/deploy-1.17-and-later.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ error: the server doesn't have a resource type "volumesnapshotclasses"
1717

1818
Next, check if any pods are running the snapshot-controller image:
1919
```
20-
$ kubectl get pods --all-namespaces -o=jsonpath='{range .items[*]}{"\n"}{range .spec.containers[*]}{.image}{", "}{end}{end}' | grep snapshot-controller
21-
quay.io/k8scsi/snapshot-controller:v2.0.1,
20+
$ kubectl get pods --all-namespaces -o jsonpath="{range .items[*]}{range .spec.containers[*]}{.image}{'\n'}{end}{end}" | grep snapshot-controller
2221
```
2322

2423
If no pods are running the snapshot-controller, follow the instructions below to create the snapshot-controller
@@ -30,18 +29,22 @@ Run the following commands to install these components:
3029
```shell
3130
# Change to the latest supported snapshotter release branch
3231
$ SNAPSHOTTER_BRANCH=release-6.3
33-
34-
# Apply VolumeSnapshot CRDs
3532
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOTTER_BRANCH}/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml
33+
customresourcedefinition.apiextensions.k8s.io/volumesnapshotclasses.snapshot.storage.k8s.io created
3634
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOTTER_BRANCH}/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml
35+
customresourcedefinition.apiextensions.k8s.io/volumesnapshotcontents.snapshot.storage.k8s.io created
3736
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOTTER_BRANCH}/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml
37+
customresourcedefinition.apiextensions.k8s.io/volumesnapshots.snapshot.storage.k8s.io created
3838

39-
# Change to the latest supported snapshotter version
4039
$ SNAPSHOTTER_VERSION=v6.3.3
41-
42-
# Create snapshot controller
4340
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOTTER_VERSION}/deploy/kubernetes/snapshot-controller/rbac-snapshot-controller.yaml
41+
serviceaccount/snapshot-controller created
42+
clusterrole.rbac.authorization.k8s.io/snapshot-controller-runner created
43+
clusterrolebinding.rbac.authorization.k8s.io/snapshot-controller-role created
44+
role.rbac.authorization.k8s.io/snapshot-controller-leaderelection created
45+
rolebinding.rbac.authorization.k8s.io/snapshot-controller-leaderelection created
4446
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/${SNAPSHOTTER_VERSION}/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml
47+
deployment.apps/snapshot-controller created
4548
```
4649

4750
## Deployment

0 commit comments

Comments
 (0)