Cannot get my stateful service to run. Pods can't get scheduled onto nodes
(1) Your Storage
AWS EBS does not provide ReadWriteMany
(see table in the docs https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes).
You can
- Use
ReadWriteOnce
instead (proposed). - Set up an in-cluster NFS that hosts PVs that allow
ReadWriteMany
if you do have an actual need for this.
(2) Your Taints and Tolerations
Your Pod's tolerations look okay; can you provide insight on your nodes' taints? Did you fiddle around with kubectl taint ...
before on this cluster? Is this a managed cluster or did you set it up on your own on AWS machines?