Héctor Tornos:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: |
{“apiVersion”:“v1”,“kind”:“PersistentVolumeClaim”,“metadata”:{“annotations”:{},“name”:“local-pvc”,“namespace”:“default”},“spec”:{“accessModes”:[“ReadWriteOnce”],“resources”:{“requests”:{“storage”:“500Mi”}},“storageClassName”:“local-storage”,“volumeMode”:“Filesystem”}}
creationTimestamp: “2021-08-25T08:06:38Z”
finalizers:
-
http://kubernetes.io/pvc-protection|kubernetes.io/pvc-protection
managedFields: - apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: {}
f:spec:
f:accessModes: {}
f:resources:
f:requests:
.: {}
f:storage: {}
f:storageClassName: {}
f:volumeMode: {}
f:status:
f:phase: {}
manager: kubectl-client-side-apply
operation: Update
time: “2021-08-25T08:06:38Z”
name: local-pvc
namespace: default
resourceVersion: “1751”
uid: 9129d081-8589-4577-b8c0-d04e85755d71
spec:
accessModes: - ReadWriteOnce
resources:
requests:
storage: 500Mi
storageClassName: local-storage
volumeMode: Filesystem
status:
phase: Pending
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
annotations:
http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: |
{“apiVersion”:“v1”,“kind”:“PersistentVolumeClaim”,“metadata”:{“annotations”:{},“name”:“local-pvc”,“namespace”:“default”},“spec”:{“accessModes”:[“ReadWriteOnce”],“resources”:{“requests”:{“storage”:“500Mi”}},“storageClassName”:“local-storage”,“volumeMode”:“Filesystem”}}
creationTimestamp: “2021-08-25T08:06:38Z”
finalizers:
-
http://kubernetes.io/pvc-protection|kubernetes.io/pvc-protection
managedFields: - apiVersion: v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: {}
f:spec:
f:accessModes: {}
f:resources:
f:requests:
.: {}
f:storage: {}
f:storageClassName: {}
f:volumeMode: {}
f:status:
f:phase: {}
manager: kubectl-client-side-apply
operation: Update
time: “2021-08-25T08:06:38Z”
name: local-pvc
namespace: default
resourceVersion: “1751”
uid: 9129d081-8589-4577-b8c0-d04e85755d71
spec:
accessModes: - ReadWriteOnce
resources:
requests:
storage: 500Mi
storageClassName: local-storage
volumeMode: Filesystem
status:
phase: Pending
apiVersion: http://storage.k8s.io/v1|storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: |
{“apiVersion”:“http://storage.k8s.io/v1|storage.k8s.io/v1”,“kind”:“StorageClass”,“metadata”:{“annotations”:{},“name”:“local-storage”},“provisioner”:“http://kubernetes.io/no-provisioner|kubernetes.io/no-provisioner”,“volumeBindingMode”:“WaitForFirstConsumer”}
creationTimestamp: “2021-08-25T07:53:21Z”
managedFields:
- apiVersion: http://storage.k8s.io/v1|storage.k8s.io/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: {}
f:provisioner: {}
f:reclaimPolicy: {}
f:volumeBindingMode: {}
manager: kubectl-client-side-apply
operation: Update
time: “2021-08-25T07:53:21Z”
name: local-storage
resourceVersion: “768”
uid: 76a115e5-faec-4693-a750-da3db9b55015
provisioner: http://kubernetes.io/no-provisioner|kubernetes.io/no-provisioner
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
apiVersion: v1
kind: Pod
metadata:
annotations:
http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration: |
{“apiVersion”:“v1”,“kind”:“Pod”,“metadata”:{“annotations”:{},“creationTimestamp”:null,“labels”:{“run”:“nginx”},“name”:“nginx”,“namespace”:“default”},“spec”:{“containers”:[{“image”:“nginx:alpine”,“name”:“nginx”,“resources”:{},“volumeMounts”:[{“mountPath”:“/var/www/html”,“name”:“local-persistent-storage”}]}],“dnsPolicy”:“ClusterFirst”,“restartPolicy”:“Always”,“volumes”:[{“name”:“local-persistent-storage”,“persistentVolumeClaim”:{“claimName”:“local-pvc”}}]},“status”:{}}
creationTimestamp: “2021-08-25T08:12:32Z”
labels:
run: nginx
managedFields:
manager: kubectl-client-side-apply
operation: Update
time: “2021-08-25T08:12:32Z”
name: nginx
namespace: default
resourceVersion: “2203”
uid: 11829141-f5d8-46d2-aa3b-0cbe32998e77
spec:
containers:
- image: nginx:alpine
imagePullPolicy: IfNotPresent
name: nginx
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:- mountPath: /var/www/html
name: local-persistent-storage - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-7nnpw
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- mountPath: /var/www/html
- effect: NoExecute
key: http://node.kubernetes.io/not-ready|node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300 - effect: NoExecute
key: http://node.kubernetes.io/unreachable|node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes: - name: local-persistent-storage
persistentVolumeClaim:
claimName: local-pvc - name: default-token-7nnpw
secret:
defaultMode: 420
secretName: default-token-7nnpw
status:
conditions: - lastProbeTime: null
lastTransitionTime: “2021-08-25T08:12:32Z”
message: ‘0/1 nodes are available: 1 node(s) didn’‘t find available persistent
volumes to bind.’
reason: Unschedulable
status: “False”
type: PodScheduled
phase: Pending
qosClass: BestEffort