Skip to content

Setup High Availability with Vault Operator #2585

Closed Answered by LukasKnuth
LukasKnuth asked this question in Q&A
Discussion options

You must be logged in to vote

We are using GCS as the storage backend. I found the examples in the /deploy/examples folder of the vault-operator folder, mainly cr-gcs-ha.yaml.

On top of that, I set the following affinity rule to not schedule two pods onto the same Node.

affinity:
  # Don't schedule multiple Vault Pods onto the same Node
  podAntiAffinity:
    # NOTE: Change this to "preferredXXX" if scheduling causes issues.
    requiredDuringSchedulingIgnoredDuringExecution:
      - topologyKey: "kubernetes.io/hostname"
        labelSelector:
          matchLabels:
            # Default label set by Vault Operator
            "app.kubernetes.io/name": "vault"

Lastly, the official docs explain how high availability wo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LukasKnuth
Comment options

Answer selected by csatib02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants