I am planning on setting up persistence storage in AWS using Kubernetes. I have created the YAML file to create an EBS volume in AWS, it's working fine as expected. I am able to claim volume and successfully mount to my pod (this is for single replica only).
I am able to successfully create the file.Volume also creating but my Pods is going to pending state, volume still shows available state in aws. I am not able to see any error logs over there.
- image: mongo
- name: web2
- mountPath: "/opt/couchbase/var"
accessModes: [ "ReadWriteOnce" ]