Switch from piraeus to ceph
This commit is contained in:
parent
24c1451d54
commit
8248e913b0
|
@ -7,4 +7,3 @@ resources:
|
|||
- ./middleware.yaml
|
||||
|
||||
- ./intel-devices
|
||||
- ./piraeus
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
apiVersion: piraeus.io/v1
|
||||
kind: LinstorCluster
|
||||
metadata:
|
||||
name: linstorcluster
|
||||
spec: {}
|
|
@ -1,8 +0,0 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./cluster.yaml
|
||||
- ./pool.yaml
|
||||
- ./storage.yaml
|
||||
- ./storage-replicated.yaml
|
||||
- ./volume_snapshot_class.yaml
|
|
@ -1,10 +0,0 @@
|
|||
apiVersion: piraeus.io/v1
|
||||
kind: LinstorSatelliteConfiguration
|
||||
metadata:
|
||||
name: storage-pool
|
||||
spec:
|
||||
storagePools:
|
||||
- name: rl-pool
|
||||
lvmThinPool:
|
||||
volumeGroup: rl
|
||||
thinPool: pool
|
|
@ -1,12 +0,0 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: piraeus-storage-replicated
|
||||
annotations:
|
||||
storageclass.kubernetes.io/is-default-class: true
|
||||
provisioner: linstor.csi.linbit.com
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
parameters:
|
||||
linstor.csi.linbit.com/storagePool: rl-pool
|
||||
linstor.csi.linbit.com/placementCount: "2"
|
|
@ -1,10 +0,0 @@
|
|||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: piraeus-storage
|
||||
provisioner: linstor.csi.linbit.com
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
parameters:
|
||||
linstor.csi.linbit.com/storagePool: rl-pool
|
||||
linstor.csi.linbit.com/allowRemoteVolumeAccess: "false"
|
|
@ -1,6 +0,0 @@
|
|||
apiVersion: snapshot.storage.k8s.io/v1
|
||||
kind: VolumeSnapshotClass
|
||||
metadata:
|
||||
name: piraeus-snapshots
|
||||
driver: linstor.csi.linbit.com
|
||||
deletionPolicy: Delete
|
|
@ -5,11 +5,10 @@ resources:
|
|||
- cert-manager.yaml
|
||||
- traefik.yaml
|
||||
- cloudnative-pg.yaml
|
||||
# - rook.yaml
|
||||
- ./rook
|
||||
- ./node-feature-discovery
|
||||
- ./velero
|
||||
- https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/refs/tags/v1.1.8/manifests/dragonfly-operator.yaml
|
||||
- https://github.com/piraeusdatastore/piraeus-operator//config/default?ref=v2.7.1
|
||||
- https://github.com/kubernetes-csi/external-snapshotter//client/config/crd?ref=v8.2.0
|
||||
- https://github.com/kubernetes-csi/external-snapshotter//deploy/kubernetes/snapshot-controller?ref=v8.2.0
|
||||
- github.com/kubernetes-sigs/descheduler/kubernetes/cronjob?ref=release-1.32
|
||||
|
|
|
@ -1,33 +1,3 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: rook-ceph
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: rook-release
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
interval: 1m0s
|
||||
url: https://charts.rook.io/release
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: rook-ceph
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: rook-ceph
|
||||
reconcileStrategy: ChartVersion
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: rook-release
|
||||
version: 1.15.3
|
||||
interval: 1m0s
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
|
@ -41,20 +11,20 @@ spec:
|
|||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: rook-release
|
||||
version: 1.15.3
|
||||
version: 1.16.3
|
||||
interval: 1m0s
|
||||
timeout: 10m
|
||||
values:
|
||||
toolbox:
|
||||
enabled: true
|
||||
# Uncomment once prometheus stack has been added
|
||||
# monitoring:
|
||||
# enabled: true
|
||||
# createPrometheusRules: true
|
||||
cephClusterSpec:
|
||||
storage:
|
||||
useAllDevices: false
|
||||
deviceFilter: "^nvme."
|
||||
mon:
|
||||
# For testing we only have one node
|
||||
allowMultiplePerNode: true
|
||||
mgr:
|
||||
# For testing we only have one node
|
||||
allowMultiplePerNode: true
|
||||
resources:
|
||||
mgr:
|
||||
limits:
|
14
infrastructure/controllers/rook/helm-release-operator.yaml
Normal file
14
infrastructure/controllers/rook/helm-release-operator.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: rook-ceph
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: rook-ceph
|
||||
reconcileStrategy: ChartVersion
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: rook-release
|
||||
version: 1.16.3
|
||||
interval: 1m0s
|
7
infrastructure/controllers/rook/helm-repository.yaml
Normal file
7
infrastructure/controllers/rook/helm-repository.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: rook-release
|
||||
spec:
|
||||
interval: 1m0s
|
||||
url: https://charts.rook.io/release
|
8
infrastructure/controllers/rook/kustomization.yaml
Normal file
8
infrastructure/controllers/rook/kustomization.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: rook-ceph
|
||||
resources:
|
||||
- ./namespace.yaml
|
||||
- ./helm-repository.yaml
|
||||
- ./helm-release-operator.yaml
|
||||
- ./helm-release-cluster.yaml
|
4
infrastructure/controllers/rook/namespace.yaml
Normal file
4
infrastructure/controllers/rook/namespace.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: rook-ceph
|
Loading…
Reference in New Issue
Block a user