Skip to content

Commit 24334b8

Browse files
committed
Add usage of regiona PD in zonal clusters to user guide
1 parent 4c46bb8 commit 24334b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/kubernetes/user-guides/basic.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,20 @@ web-server 1/1 Running 0 1m
4646
**Note:** Regional cluster support only available in beta starting with
4747
Kubernetes 1.14.
4848

49-
This example provisions a regional PD in regional clusters.
49+
This example provisions a regional PD in either zonal or regional clusters.
5050

51-
1. Create example Regional Storage Class. Choose between:
51+
1. Create example Regional Storage Class. For zonal clusters, `allowedTopologies` must be specified with two zones where one of the zones must be the cluster's zone. For regional clusters this configuration can also be used to make sure that regional PD is provisioned in those two zones.
5252

53-
* Unrestricted zones
53+
* Restricted zones
5454
```
55-
$ kubectl apply -f ./examples/kubernetes/demo-regional-sc.yaml
55+
$ kubectl apply -f ./examples/kubernetes/demo-regional-restricted-sc.yaml
5656
```
5757
58-
* Restricted zones
58+
For regional clusters it is also possible to not specify `allowedTopologies`, in which case two zones will be picked from the available zones in the cluster's region.
59+
60+
* Unrestricted zones
5961
```
60-
$ kubectl apply -f ./examples/kubernetes/demo-regional-restricted-sc.yaml
62+
$ kubectl apply -f ./examples/kubernetes/demo-regional-sc.yaml
6163
```
6264
6365
2. Create example PVC and Pod

0 commit comments

Comments
 (0)