What should be the storageClassName in my volumeClaimTemplates?
Looks like it cannot be empty. I tried RBD that failed to provision the PVC because its an unknown type in replicated. I tried “default” now but pods aren’t coming up.
As per replicated doc, it suggested we don’t have to make any changes in our yaml and replicated would set its custom storageClass automatically. But I see its not changed after deployment as “kubectl describe pvc” shows its of type default only.
My pods aren’t coming up because of permission issues as shown below. Our containers run as user 1010 so can you please suggest the appropriate configuration for PVCs in replicated?
Caused by: java.nio.file.AccessDeniedException: /var/data/elasticsearch/nodes