Menu

Production-ready HashiCorp Vault on Kubernetes - what are your must-have practices?

Reddit r/sysadmin·u/laki993·6 months ago
#mamVMQUd
#vault#storage#raft#audit#production
Reading 0:00
15s threshold

I’ve been working on designing a production-grade HashiCorp Vault setup on Kubernetes , and wanted to sanity-check some of the best practices I’m using + hear what others are doing in real environments.

Here’s the architecture I’m currently leaning toward:

HA setup: 3-node Raft cluster (integrated storage)

Auto-unseal: AWS KMS

TLS:

Internal: cert-manager with self-signed CA

External: Let’s Encrypt (auto-renewal)

Storage: Longhorn-backed PVCs (separate volumes for data + audit logs)

Audit logging: File audit device on dedicated PVCs

Backups: Daily Raft snapshots pushed to S3 (30-day retention)

Recovery keys: Stored securely in AWS Secrets Manager

Resilience: PodDisruptionBudget allowing max 1 pod unavailable

From what I’ve gathered, this aligns with a lot of recommended practices:

Vault should run in HA mode with integrated storage (Raft) for resilience

Auto-unseal via KMS is strongly preferred in Kubernetes to avoid manual ops during restarts

TLS everywhere is non-negotiable (internal +…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.