Jeff
Jeff Cloud Systems Arcitect with a focus on Kuberetes
1 min read

Deploy Bitwarden on Kubernetes

Deploy Bitwarden on Kubernetes

How to deploy Bitwarden in a Kubernetes cluster


Bitwarden RS

Bitwarden_rs is a fork of Bitwarden written in Rust. The Allure of Bitwarden_rs is the reduced overhead by utilizing sqlite over MSSQL and the ability to run everything inside of a single container (Bitwarden official is made up of 10 containers). Bitwarden_rs also unlocks Organizations without requiring a license, however, I still choose to support the official Bitwarden project.

Create a Namespace

kubectl create ns bitwarden

Create the YAML Files

pvc.yaml

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: bitwarden-pv
  namespace: bitwarden
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 8Gi