I am setting up Vault on raft storage backend in Kubernetes with the Helm chart. It stands up 3 nodes in the statefulset and I can successfully unseal the vault. However, when I run the join command to join the other two pods to the raft cluster, I am receiving this error. Why is it looking to 127.0.0.1 instead of the address I specify?
Error joining the node to the Raft cluster: Error making API request.
URL: POST http://127.0.0.1:8200/v1/sys/storage/raft/join
Code: 500. Errors:
* failed to join raft cluster: failed to join any raft leader node
global:
enabled: true
server:
extraLabels:
app: vault
version: 1.8.0
dataStorage:
enabled: true
storageClass: px-ha-db
ha:
enabled: true
replicas: 3
raft:
enabled: true
ui:
enabled: true