2019-12-13 19:09:34 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: Helm - Kubernetes
|
|
|
|
description: >-
|
|
|
|
The Vault Helm chart is the recommended way to install and configure Vault on
|
|
|
|
Kubernetes.
|
2019-12-13 19:09:34 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Helm Chart
|
|
|
|
|
2022-08-16 21:56:30 +00:00
|
|
|
@include 'helm/version.mdx'
|
2019-12-13 19:09:34 +00:00
|
|
|
|
|
|
|
The [Vault Helm chart](https://github.com/hashicorp/vault-helm)
|
|
|
|
is the recommended way to install and configure Vault on Kubernetes.
|
|
|
|
In addition to running Vault itself, the Helm chart is the primary
|
|
|
|
method for installing and configuring Vault to integrate with other
|
2020-03-30 21:35:08 +00:00
|
|
|
services such as Consul for High Availability (HA) deployments.
|
2019-12-13 19:09:34 +00:00
|
|
|
|
2020-02-21 20:10:38 +00:00
|
|
|
This page assumes general knowledge of [Helm](https://helm.sh/) and
|
2020-03-30 21:35:08 +00:00
|
|
|
how to use it. Using Helm to install Vault requires that Helm is
|
2019-12-13 19:09:34 +00:00
|
|
|
properly installed and configured with your Kubernetes cluster.
|
|
|
|
|
|
|
|
## Using the Helm Chart
|
|
|
|
|
2020-03-30 21:35:08 +00:00
|
|
|
Helm must be installed and configured on your machine. Please refer to the [Helm
|
|
|
|
documentation](https://helm.sh/) or the [Vault Installation to Minikube via
|
2022-09-22 15:11:04 +00:00
|
|
|
Helm](https://learn.hashicorp.com/tutorials/vault/kubernetes-minikube-consul) tutorial.
|
2020-03-30 21:35:08 +00:00
|
|
|
|
2020-05-08 17:55:56 +00:00
|
|
|
To use the Helm chart, add the Hashicorp helm repository and check that you have
|
|
|
|
access to the chart:
|
|
|
|
|
2022-01-24 23:25:52 +00:00
|
|
|
@include 'helm/repo.mdx'
|
2019-12-13 19:09:34 +00:00
|
|
|
|
2020-03-30 21:35:08 +00:00
|
|
|
-> **Important:** The Helm chart is new and under significant development.
|
|
|
|
Please always run Helm with `--dry-run` before any install or upgrade to verify
|
|
|
|
changes.
|
2019-12-13 19:09:34 +00:00
|
|
|
|
|
|
|
Example chart usage:
|
|
|
|
|
2020-05-08 17:55:56 +00:00
|
|
|
Installing the latest release of the Vault Helm chart with pods prefixed with
|
|
|
|
the name `vault`.
|
2020-03-30 21:35:08 +00:00
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2020-05-08 17:55:56 +00:00
|
|
|
$ helm install vault hashicorp/vault
|
2020-03-30 21:35:08 +00:00
|
|
|
```
|
|
|
|
|
2020-05-08 17:55:56 +00:00
|
|
|
Installing a specific version of the chart.
|
2020-03-30 21:35:08 +00:00
|
|
|
|
2022-01-24 23:25:52 +00:00
|
|
|
@include 'helm/install.mdx'
|
2020-03-30 21:35:08 +00:00
|
|
|
|
|
|
|
~> **Security Warning:** By default, the chart runs in standalone mode. This
|
|
|
|
mode uses a single Vault server with a file storage backend. This is a less
|
2020-05-08 17:55:56 +00:00
|
|
|
secure and less resilient installation that is **NOT** appropriate for a
|
2020-03-30 21:35:08 +00:00
|
|
|
production setup. It is highly recommended to use a [properly secured Kubernetes
|
|
|
|
cluster](https://kubernetes.io/docs/tasks/administer-cluster/securing-a-cluster/),
|
|
|
|
[learn the available configuration
|
|
|
|
options](/docs/platform/k8s/helm/configuration), and read the [production deployment
|
|
|
|
checklist](/docs/platform/k8s/helm/run#architecture).
|
|
|
|
|
2022-04-01 20:37:38 +00:00
|
|
|
## Tutorial
|
2020-03-30 21:35:08 +00:00
|
|
|
|
2022-04-01 20:37:38 +00:00
|
|
|
Refer to the [Kubernetes](https://learn.hashicorp.com/collections/vault/kubernetes)
|
|
|
|
tutorials series to learn how to run Vault on Kubernetes.
|