Skip to content

Commit

Permalink
feat(rook): Update rook config (#5286)
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn authored Mar 4, 2025
1 parent b79551e commit 4cd5b77
Showing 1 changed file with 41 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,55 @@ spec:
values:
toolbox:
enabled: true

monitoring:
enabled: true
createPrometheusRules: true
configOverride: |
[global]
bdev_enable_discard = true
bdev_async_discard = true

ingress:
dashboard:
ingressClassName: nginx
host:
name: rook.test.zinn.ca
path: /

cephClusterSpec:
cephVersion:
image: quay.io/ceph/ceph:v19.2.1@sha256:41d3f5e46ff7de28544cc8869fdea13fca824dcef83936cb3288ed9de935e4de

cephConfig:
global:
bdev_enable_discard: "true" # quote
bdev_async_discard_threads: "1" # quote
osd_class_update_on_start: "false" # quote
device_failure_prediction_mode: local # requires mgr module
mgr:
mgr/crash/warn_recent_interval: "7200" # 2h

crashCollector:
disable: false

dashboard:
enabled: true
urlPrefix: /
ssl: false

mgr:
modules:
- name: diskprediction_local
enabled: true
- name: insights
enabled: true
- name: pg_autoscaler
enabled: true
- name: rook
enabled: true

# network:
# provider: host
# connections:
# requireMsgr2: true

resources:
mgr:
requests:
Expand Down Expand Up @@ -91,14 +128,6 @@ spec:
limits:
memory: "1G"

crashCollector:
disable: false

dashboard:
enabled: true
urlPrefix: /
ssl: false

storage:
useAllNodes: false
useAllDevices: false
Expand All @@ -115,13 +144,6 @@ spec:
devices:
- name: "sdb"

ingress:
dashboard:
ingressClassName: nginx
host:
name: rook.test.zinn.ca
path: /

cephBlockPools:
- name: ceph-blockpool
spec:
Expand Down

0 comments on commit 4cd5b77

Please sign in to comment.