Hello,
We have 2 vault server and 3 consul server for storage. Now we want to connect this vault cluster with the help of a load balancer (Azure cloud). I have gone through the below link https://www.vaultproject.io/docs/concepts/ha.html but it’s hard to understand that document. If anybody knows the steps to set up a load balancer for the vault cluster, then please share it with me.
Thanks in advance.
Regards
1 Like
Im kinda in the same scenario. Im trying to setup HA Vault on AKS with Azure Load Balancer for access but cant get it right. Have you made any progess in your scenario??
For fellows who maybe face the same problem:
In our scenario (Vault Deployed on AKS with Vault Helm Chart) we wanted to connect to Vault from outside the K8s Cluster. We use a yaml service object to achieve this.
apiVersion: v1
kind: Service
metadata:
name: vault-svc-external
spec:
type: LoadBalancer
ports:
- port: 8200
selector:
app.kubernetes.io/instance: vault
app.kubernetes.io/name: vault
You have to make sure that your Vault instance is properly initialized and ready to accept requests.
Regards