To configure a PersistentVolumeClaim (PVC) for your Tekton pipeline on EKS, use the following YAML snippet. This PVC requests 500Mi of storage and is set to allow read and write access. If your PipelineRuns are pending due to volume issues, ensure your EBS CSI driver is correctly set up and that the storage class is available.

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: buildpacks-source-pvc
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 500Mi

After creating the PVC, you can check its status and events using:

kubectl describe pvc buildpacks-source-pvc

Look for events indicating provisioning issues, such as 'waiting for a volume to be created'. This may suggest that the EBS CSI driver is not functioning correctly or that the storage class is misconfigured. Ensure that your EKS cluster has the necessary permissions and configurations to provision EBS volumes.