Skip to content

Commit

Permalink
Modified storage access for zone and deleted PersistentVolumeLabel si…
Browse files Browse the repository at this point in the history
…nce its deprecated

s
  • Loading branch information
hassanbenhzaine committed Feb 24, 2024
1 parent a7792d2 commit 4a04547
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions content/en/docs/setup/best-practices/multiple-zones.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,16 @@ such as Deployment, StatefulSet, or Job.

## Storage access for zones

When persistent volumes are created, the `PersistentVolumeLabel`
[admission controller](/docs/reference/access-authn-authz/admission-controllers/)
automatically adds zone labels to any PersistentVolumes that are linked to a specific
zone. The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
When persistent volumes are created, Kubernetes automatically adds zone labels
to any PersistentVolumes that are linked to a specific zone.
The {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}} then ensures,
through its `NoVolumeZoneConflict` predicate, that pods which claim a given PersistentVolume
are only placed into the same zone as that volume.

Please note that the method of adding zone labels can depend on your
cloud provider and the storage provisioner you’re using. Always refer to the specific
documentation for your environment to ensure correct configuration.

You can specify a {{< glossary_tooltip text="StorageClass" term_id="storage-class" >}}
for PersistentVolumeClaims that specifies the failure domains (zones) that the
storage in that class may use.
Expand Down

0 comments on commit 4a04547

Please sign in to comment.