9
Why is the claim not bound to the available Persistent Volume?

풀이
controlplane ~ ➜ k describe pv
Name: pv-log
Labels: <none>
Annotations: <none>
Finalizers: [kubernetes.io/pv-protection]
StorageClass:
Status: Available
Claim:
Reclaim Policy: Retain
Access Modes: RWX
VolumeMode: Filesystem
Capacity: 100Mi
Node Affinity: <none>
Message:
Source:
Type: HostPath (bare host directory volume)
Path: /pv/log
HostPathType:
Events: <none>
controlplane ~ ➜ k describe pvc
Name: claim-log-1
Namespace: default
StorageClass:
Status: Pending
Volume:
Labels: <none>
Annotations: <none>
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: <none>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal FailedBinding 4s (x2 over 17s) persistentvolume-controller no persistent volumes available for this claim and no storage class is set
정답
Access modes mismatch