This directory is still under development -- Ansible playbooks are the ONLY currently supported deployment mechanism
This directory contains Helm charts for deploying AIS along with its dependencies. It assumes a properly configured K8s cluster with drives already formatted and mounted for use (see the host-config ansible playbooks).
- Kubernetes nodes configured with formatted drives
- Helm installed locally
- Helm-diff plugin:
helm plugin install https://github.com/databus23/helm-diff
- Helmfile: https://github.com/helmfile/helmfile?tab=readme-ov-file
- Helm-diff plugin:
- Local Kubectl configured to access the cluster
Next, copy the values-sample.yaml
file in ./charts/ais-cluster, to a new values file.
Then modify the values in your new file for your desired cluster.
To install the charts provided, we use helmfile. Update the helmfile.yaml
to configure the destination namespaces and reference the values.yaml
configured for your deployment. Then from the ais
directory run:
helmfile upgrade
To uninstall:
helmfile destroy
If you only want to modify one part of the installation, it is possible to run the charts individually in ./charts
with their own values.yaml
files.
Chart | Description |
---|---|
ais-create-pv | Creates persistent volumes to be used by AIS targets. |