Skip to content

Commit 6b0751c

Browse files
authored
Update storage-classes.md
Using the documented allowed topologies config I get the following deprecation warning: ``` Warning: allowedTopologies[0].matchLabelExpressions[0].key: deprecated since v1.17; use "topology.kubernetes.io/zone" instead ``` Using "topology.kubernetes.io/zone", I get successful deployment: ``` kubectl edit storageclass/gp2 storageclass.storage.k8s.io/gp2 edited ```
1 parent 815af5d commit 6b0751c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/storage/storage-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ parameters:
243243
volumeBindingMode: WaitForFirstConsumer
244244
allowedTopologies:
245245
- matchLabelExpressions:
246-
- key: failure-domain.beta.kubernetes.io/zone
246+
- key: topology.kubernetes.io/zone
247247
values:
248248
- us-central-1a
249249
- us-central-1b

0 commit comments

Comments
 (0)