Skip to content

Commit

Permalink
✨ Add TopoLVM umbrella chart (#89)
Browse files Browse the repository at this point in the history
* ✨ Add TopoLVM umbrella chart

* add thin-pool to deviceClasses

---------

Co-authored-by: Thomas Guettler <[email protected]>
  • Loading branch information
lucasrattz and guettli authored May 17, 2024
1 parent c4fcf0e commit c94d1aa
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 0 deletions.
21 changes: 21 additions & 0 deletions charts/topolvm/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
6 changes: 6 additions & 0 deletions charts/topolvm/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: topolvm
repository: https://topolvm.github.io/topolvm
version: 14.1.2
digest: sha256:6ea903c8d8c6d537680dbb5112ee594a9bdc956e4a861e44c8651ec0d6d68ed5
generated: "2024-05-16T20:29:07.574151013-03:00"
10 changes: 10 additions & 0 deletions charts/topolvm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: "v2"
name: "topolvm"
version: 1.1.0
description: |
This chart installs and configures TopoLVM for Syself Autopilot.
dependencies:
- name: "topolvm"
version: "14.1.2"
repository: "https://topolvm.github.io/topolvm"
7 changes: 7 additions & 0 deletions charts/topolvm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# What is this chart?

This is an umbrella chart for TopoLVM with predefined configuration tailored for use with Syself Autopilot.

## Note

Not intended for use outside of the Syself Autopilot environment.
Binary file added charts/topolvm/charts/topolvm-14.1.2.tgz
Binary file not shown.
60 changes: 60 additions & 0 deletions charts/topolvm/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
topolvm:
lvmd:
managed: false
deviceClasses:
- name: dc-ssd
volumme-group: vg-ssd
type: thin
thin-pool:
name: pool-ssd
overprovision-ratio: 1.0
default: false
spare-gb: 10
- name: dc-nvme
volumme-group: vg-nvme
type: thin
thin-pool:
name: pool-nvme
overprovision-ratio: 1.0
default: false
spare-gb: 10
- name: dc-hdd
volumme-group: vg-hdd
type: thin
thin-pool:
name: pool-hdd
overprovision-ratio: 1.0
default: false
spare-gb: 10
storageClasses:
- name: local-ssd
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-ssd"
- name: local-nvme
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-nvme"
- name: local-hdd
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-hdd"
node:
lvmdEmbedded: true
controller:
nodeFinalize:
skipped: true
nodeSelector:
instance.hetzner.cloud/is-root-server: "true"

0 comments on commit c94d1aa

Please sign in to comment.