The basic features have been completed, and while no breaking API changes are currently planned, the API can change in a backwards incompatible way before the project is declared stable.
Overview
The Vault operator deploys and manages Vault clusters on Kubernetes. Vault instances created by the Vault operator are highly available and support automatic failover and upgrade.
Getting Started
Prerequisites
Kubernetes 1.8+
Configuring RBAC
Consult the RBAC guide on how to configure RBAC for the Vault operator.
Deploying the etcd operator
The Vault operator employs the etcd operator to deploy an etcd cluster as the storage backend.
Create the etcd operator Custom Resource Definitions (CRD):
$ kubectl -n default get deploy
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
etcd-operator 1 1 1 1 5m
vault-operator 1 1 1 1 5m
Deploying a Vault cluster
A Vault cluster can be deployed by creating a VaultService Custom Resource(CR). For each Vault cluster the Vault operator will also create an etcd cluster for the storage backend.
Create a Vault CR that deploys a 2 node Vault cluster in high availablilty mode:
请发表评论