Difference between revisions of "Kubectl describe pvc"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
 
* <code> [[Kubectl describe]]</code>
 
* <code> [[Kubectl describe]]</code>
 
* <code> [[Kubectl describe pvc grafana]]</code>
 
* <code> [[Kubectl describe pvc grafana]]</code>
 +
 +
== Examples ==
 +
{{Kubectl describe pvc example}}
  
  

Latest revision as of 11:34, 12 January 2024

Examples[edit]

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
 annotations:
   pv.kubernetes.io/bind-completed: "yes"
   pv.kubernetes.io/bound-by-controller: "yes"
   volume.beta.kubernetes.io/storage-provisioner: example.com/aws-efs
 creationTimestamp: "2022-10-27T15:10:12Z"
 finalizers:
 - kubernetes.io/pvc-protection
 managedFields:
 ...
   manager: kube-controller-manager
   operation: Update
   time: "2022-10-27T15:10:13Z"
 name: yourpv
 namespace: mynamespace
 resourceVersion: "719208361"
 [[selfLink: /api/v1/namespaces/mynamespace/persistentvolumeclaims/myvoy
 uid: b3295ba0-0000-123-123-1234567
spec:
 accessModes:
 - ReadWriteOnce
 resources:
   requests:
     storage: 5Gi
 storageClassName: efs
 volumeMode: Filesystem
 volumeName: pvc-1234-1234-1234-1234-123456789
status:
 accessModes:
 - ReadWriteOnce
 capacity:
   storage: 5Gi
 phase: Bound


Errors[edit]

.../...
 Warning  ProvisioningFailed  11m (x15 over 63m)  ebs.csi.aws.com_ebs-csi-controller-586f5df754-p7zmd_418ace3b-5709-4839-86ca-8a271b98b393  (combined from similar events): failed to provision volume with StorageClass "gp2": rpc error: code = Internal desc = Could not create volume "pvc-c6cb2e78-d55b-42b3-b88b-e248af001667": could not create volume in EC2: WebIdentityErr: failed to retrieve credentials
caused by: AccessDenied: Not authorized to perform sts:AssumeRoleWithWebIdentity
         status code: 403, request id: 8f0877f2-4975-47b6-833c-99bfbc110e97


VolumeMode: Filesystem

Related terms[edit]

See also[edit]

Advertising: