I deployed HA vault cluster in local kubernetes (docker desktop). This is without TLS. I have a copied the overide values below,
# Vault Helm Chart Value Overrides
global:
enabled: true
tlsDisable: true
server:
dataStorage:
enabled: true
size: 5Gi
mountPath: "/vault/data"
storageClass: null
accessMode: ReadWriteOnce
annotations: {}
auditStorage:
enabled: false
standalone:
enabled: false
image:
repository: "hashicorp/vault"
tag: "1.6.3"
resources:
requests:
memory: 256Mi
cpu: 200m
limits:
memory: 512Mi
cpu: 400m
affinity: ""
readinessProbe:
enabled: true
path: "/v1/sys/health?standbyok=true&sealedcode=204&uninitcode=204"
ha:
enabled: true
replicas: 3
raft:
enabled: true
setNodeId: true
config: |
ui = true
listener "tcp" {
tls_disable = 1
address = "[::]:8200"
cluster_address = "[::]:8201"
}
storage "raft" {
path = "/vault/data"
}
service_registration "kubernetes" {}
config: |
ui = true
listener "tcp" {
tls_disable = 1
address = "[::]:8200"
cluster_address = "[::]:8201"
}
service_registration "kubernetes" {}
# Vault UI
ui:
enabled: true
serviceType: "ClusterIP"
externalPort: 8200
When I try to add the other pods to the raft cluster I am getting the following error,
Error logs for vault-1 pod
I followed the following doc. I am not sure what I am doing wrong here. Any suggestions
https://www.vaultproject.io/docs/platform/k8s/helm/examples/ha-with-raft