Skip to content

Commit

Permalink
docs(k8s): prefer helm installation method
Browse files Browse the repository at this point in the history
The helm chart is now available for some time without major issues.
Additionally there is a number of options available only in the Helm
chart, which improve the user experience.
  • Loading branch information
apricote committed Nov 8, 2023
1 parent 6b42289 commit 9f8ecda
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,24 @@

3. Deploy the CSI driver and wait until everything is up and running:

Have a look at our [Version Matrix](README.md#versioning-policy) to pick the correct deployment file.
Have a look at our [Version Matrix](README.md#versioning-policy) to pick the correct version.

```sh
# Sync the Hetzner Cloud helm chart repository to your local computer.
helm repo add hcloud https://charts.hetzner.cloud
helm repo update hcloud

# Install the latest version of the csi-driver chart.
helm install hcloud-csi hcloud/hcloud-csi -n kube-system
```

<details>
<summary><b>Alternative</b>: Using a plain manifest</summary>

```
kubectl apply -f https://raw.githubusercontent.com/hetznercloud/csi-driver/v2.5.1/deploy/kubernetes/hcloud-csi.yml
```
</details>

4. To verify everything is working, create a persistent volume claim and a pod
which uses that volume:
Expand Down

0 comments on commit 9f8ecda

Please sign in to comment.