feat: Set up piraeus
This commit is contained in:
parent
41d3f319d4
commit
dae048029c
4 changed files with 58 additions and 0 deletions
10
k8s-wheatley/datastore/kustomization.yaml
Normal file
10
k8s-wheatley/datastore/kustomization.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: piraeus-datastore
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- https://github.com/piraeusdatastore/piraeus-operator/releases/download/v2.10.2/manifest.yaml
|
||||||
|
- linstorecluster.yaml
|
||||||
|
- sattelite-configuration.yaml
|
||||||
|
- storageclass.yaml
|
||||||
6
k8s-wheatley/datastore/linstorecluster.yaml
Normal file
6
k8s-wheatley/datastore/linstorecluster.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
apiVersion: piraeus.io/v1
|
||||||
|
kind: LinstorCluster
|
||||||
|
metadata:
|
||||||
|
name: linstorcluster
|
||||||
|
spec: {}
|
||||||
32
k8s-wheatley/datastore/sattelite-configuration.yaml
Normal file
32
k8s-wheatley/datastore/sattelite-configuration.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
apiVersion: piraeus.io/v1
|
||||||
|
kind: LinstorSatelliteConfiguration
|
||||||
|
metadata:
|
||||||
|
name: talos-loader-override
|
||||||
|
spec:
|
||||||
|
podTemplate:
|
||||||
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: drbd-shutdown-guard
|
||||||
|
$patch: delete
|
||||||
|
- name: drbd-module-loader
|
||||||
|
$patch: delete
|
||||||
|
volumes:
|
||||||
|
- name: run-systemd-system
|
||||||
|
$patch: delete
|
||||||
|
- name: run-drbd-shutdown-guard
|
||||||
|
$patch: delete
|
||||||
|
- name: systemd-bus-socket
|
||||||
|
$patch: delete
|
||||||
|
- name: lib-modules
|
||||||
|
$patch: delete
|
||||||
|
- name: usr-src
|
||||||
|
$patch: delete
|
||||||
|
- name: etc-lvm-backup
|
||||||
|
hostPath:
|
||||||
|
path: /var/etc/lvm/backup
|
||||||
|
type: DirectoryOrCreate
|
||||||
|
- name: etc-lvm-archive
|
||||||
|
hostPath:
|
||||||
|
path: /var/etc/lvm/archive
|
||||||
|
type: DirectoryOrCreate
|
||||||
10
k8s-wheatley/datastore/storageclass.yaml
Normal file
10
k8s-wheatley/datastore/storageclass.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: piraeus-lvmthin
|
||||||
|
provisioner: linstor.csi.linbit.com
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
|
parameters:
|
||||||
|
linstor.csi.linbit.com/storagePool: lvmThin
|
||||||
Loading…
Add table
Add a link
Reference in a new issue