Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs/vault-k8s: updates for v1.6.0 release #29152

Merged
merged 7 commits into from
Jan 10, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ them, optional commands to run, etc.

- `vault.hashicorp.com/agent-image` - name of the Vault docker image to use. This
value overrides the default image configured in the injector and is usually
not needed. Defaults to `hashicorp/vault:1.18.1`.
not needed. Defaults to `hashicorp/vault:1.18.2`.

- `vault.hashicorp.com/agent-init-first` - configures the pod to run the Vault Agent
init container first if `true` (last if `false`). This is useful when other init
Expand Down
21 changes: 21 additions & 0 deletions website/content/docs/platform/k8s/injector/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,27 @@ The configuration map must contain either one or both of the following files:

An example of mounting a Vault Agent configmap [can be found here](/vault/docs/platform/k8s/injector/examples#configmap-example).

### Injector telemetry

tvoran marked this conversation as resolved.
Show resolved Hide resolved
Vault Agent Injector collects the following Prometheus metrics (along with the
default set of golang metrics):
tvoran marked this conversation as resolved.
Show resolved Hide resolved

- `vault_agent_injector_request_queue_length` - A gauge of webhook requests in
the injector's queue.
tvoran marked this conversation as resolved.
Show resolved Hide resolved

- `vault_agent_injector_request_processing_duration_ms` - A histogram of webhook
request processing times in milliseconds.

- `vault_agent_injector_injections_by_namespace_total` - The total count of
Agent container injections by Kubernetes `namespace` and `injection_type`,
where `injection_type` is `init_only`, `sidecar_only`, or `init_and_sidecar`.
tvoran marked this conversation as resolved.
Show resolved Hide resolved

- `vault_agent_injector_failed_injections_by_namespace_total` - The total count
of failed Agent Sidecar injections by Kubernetes `namespace`.
tvoran marked this conversation as resolved.
Show resolved Hide resolved

Enable metrics collection in the injector by setting [`injector.metrics.enabled:
true`](/vault/docs/platform/k8s/helm/configuration#metrics) in the Helm chart.
tvoran marked this conversation as resolved.
Show resolved Hide resolved

## Tutorial

Refer to the [Injecting Secrets into Kubernetes Pods via Vault Helm
Expand Down
Loading