How is information found about all Kubernetes Persistent Volumes in a vSphere environment?
How is information found about all Kubernetes Persistent Volumes in a vSphere environment?
To find information about all Kubernetes Persistent Volumes in a vSphere environment, the command 'kubectl get persistentvolumes' can be used. This command provides detailed information about each persistent volume, including its name, capacity, access modes, reclaim policy, availability status, associated PVC, associated storage class, notes, and age. This method leverages Kubernetes' native command-line tool, making it the correct choice for obtaining comprehensive information about persistent volumes directly in a Kubernetes environment.
I think it's A since stated on official docs vmware https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-B2C5A356-7BB6-4DA5-BB2F-B13E1E29B644.html
I think we have to take into consideration the part that says "in the vSphere Environment" so sure the command from cli will work but it's not directly from the vSphere Environment
It looks like both A and B are correct.
Have you attempted this Exam @obeythefist? I think A is most correct, B will only list
Have you ever used Kubernetes, @Mwafrika? kubectl get persistentvolumes provides more than just a list. It will show, for each PV: - Name - Capacity - Access Modes - Reclaim Policy - Availability status - Associated PVC - Associated storage class - Notes - Age of the PV This is more than just a "list". Before you attempt this exam, you should endeavour to become familiar with Kubernetes.
is 'kubectl get persistentvolumes' even a command? ...i thought 'kubectl get pv' just lists sorted by capacity?
Disregard ...just tested in a Lab and obeythefist is correct, pv and persistentvolumes can be used interchangeably and does include all that information.