MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.09k stars 21.14k forks source link

AKS Learn feedback: "Statically provision a volume" annotated with pv.kubernetes.io/provisioned-by #123600

Open mloskot opened 4 days ago

mloskot commented 4 days ago

Type of issue

Other (describe below)

Feedback

In the Statically provision a volume section there is this example, copied below, which displays use of pv.kubernetes.io/provisioned-by annotation:

apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    pv.kubernetes.io/provisioned-by: file.csi.azure.com
  name: azurefile
spec:
  ...

while the Kubernetes documentation on Well-Known Labels, Annotations and Taints indicates this annotation should correspond to dynamic provisioning, screenshot with the section pasted below:

image


The lack of explanation on why the example uses the annotation makes the example confusing to reader.

Page URL

https://learn.microsoft.com/en-us/azure/aks/azure-csi-files-storage-provision#statically-provision-a-volume

Content source URL

https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/aks/azure-csi-files-storage-provision.md

Author

@tamram

Document Id

b95ca0b2-e809-a149-dec7-a15ac2146ee1


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

TPavanBalaji commented 3 days ago

@mloskot Thanks for your feedback! We will investigate and update as appropriate.

SaibabaBalapur-MSFT commented 1 day ago

@mloskot I'm going to assign this to the document author so they can take a look at it accordingly.

@tamram Please review it.