Switch from piraeus to ceph
This commit is contained in:
46
infrastructure/controllers/rook/helm-release-cluster.yaml
Normal file
46
infrastructure/controllers/rook/helm-release-cluster.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: rook-ceph-cluster
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
chart:
|
||||
spec:
|
||||
chart: rook-ceph-cluster
|
||||
reconcileStrategy: ChartVersion
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: rook-release
|
||||
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."
|
||||
resources:
|
||||
mgr:
|
||||
limits:
|
||||
memory: "1Gi"
|
||||
requests:
|
||||
cpu: "50m"
|
||||
memory: "512Mi"
|
||||
mon:
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "1Gi"
|
||||
osd:
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "1Gi"
|
||||
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
|
||||
Reference in New Issue
Block a user