Skip to content

Commit

Permalink
Use csi-driver-lvm version 0.6.0 (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSCahill authored Nov 1, 2024
1 parent 5c2ef41 commit ed805a2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
:description: Deploy a secure Redpanda cluster and Redpanda Console in Azure Kubernetes Service (AKS).
:env-kubernetes: true
:page-categories: Deployment
:k8s-managed-service: AKS

Deploy a secure Redpanda cluster and Redpanda Console in Azure Kubernetes Service (AKS). After you deploy, use `rpk` both as an internal client and an external client to interact with your Redpanda cluster from the command line. Your Redpanda cluster has the following security features:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
:env-eks:
:env-kubernetes: true
:page-categories: Deployment
:k8s-managed-service: EKS

Deploy a secure Redpanda cluster and Redpanda Console in Amazon Elastic Kubernetes Service (EKS).
Then, use `rpk` both as an internal client and an external client to interact with your Redpanda cluster from the command line. Your Redpanda cluster has the following security features:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
:description: Deploy a secure Redpanda cluster and Redpanda Console in Google Kubernetes Engine (GKE).
:env-kubernetes: true
:page-categories: Deployment
:k8s-managed-service: GKE

Deploy a secure Redpanda cluster and Redpanda Console in Google Kubernetes Engine (GKE). Then, use `rpk` both as an internal client and an external client to interact with your Redpanda cluster from the command line. Your Redpanda cluster has the following security features:

Expand Down
16 changes: 13 additions & 3 deletions modules/deploy/partials/kubernetes/guides/create-storageclass.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,39 @@ In this step, you install the recommended https://github.com/metal-stack/csi-dri
. Install the LVM CSI driver:
+
ifdef::env-eks[]
[,yaml,lines=6]
[,yaml,lines=4+7]
----
helm repo add metal-stack https://helm.metal-stack.io
helm repo update
helm install csi-driver-lvm metal-stack/csi-driver-lvm \
--version 0.6.0 \
--namespace csi-driver-lvm \
--create-namespace \
--set lvm.devicePattern='/dev/nvme[1-9]n[0-9]'
----
endif::[]
ifndef::env-eks[]
[,yaml,lines=6]
[,yaml,lines=4+7]
----
helm repo add metal-stack https://helm.metal-stack.io
helm repo update
helm install csi-driver-lvm metal-stack/csi-driver-lvm \
--version 0.6.0 \
--namespace csi-driver-lvm \
--create-namespace \
--set lvm.devicePattern='/dev/nvme[0-9]n[0-9]'
----
endif::[]
+
The `lvm.devicePattern` property specifies the pattern that the CSI driver uses to identify available NVMe volumes on your worker nodes.
+
[NOTE]
====
Version 0.6.0 is required to avoid volume-mounting issues caused by recent `mkfs.xfs` updates. Newer versions enable the `-i nrext64=1` option, triggering the following error on default {k8s-managed-service} kernels:
----
XFS (dm-0): Superblock has unknown incompatible features (0x20) enabled.
----
====

. Create the StorageClass:
+
Expand Down Expand Up @@ -64,4 +74,4 @@ parameters:
kubectl apply -f csi-driver-lvm-striped-xfs.yaml
----
+
After applying this StorageClass, any PVC that references it will attempt to provision storage using the LVM CSI driver and the provided parameters.
After applying this StorageClass, any PVC that references it will attempt to provision storage using the LVM CSI driver and the provided parameters.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ TLS is enabled by default. The Redpanda Helm chart uses cert-manager to manage T
+
[source,bash,subs="attributes+",lines=3+5-9]
----
helm repo add redpanda https://charts.redpanda.com \
helm repo add redpanda https://charts.redpanda.com
helm install redpanda redpanda/redpanda \
--version {latest-redpanda-helm-chart-version} \
--namespace <namespace> --create-namespace \
Expand Down

0 comments on commit ed805a2

Please sign in to comment.