Skip to content

Commit

Permalink
Add rook-ceph production ready default helm values
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
  • Loading branch information
chess-knight committed Jul 23, 2024
1 parent 9fcadbd commit e21ba15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 66 deletions.
63 changes: 2 additions & 61 deletions providers/hetzner/baremetal/1-30/cluster-addon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,71 +62,12 @@ hcloud-cloud-controller-manager:

rook-ceph:
enableDiscoveryDaemon: true
currentNamespaceOnly: true
rook-ceph-cluster:
operatorNamespace: kube-system
# based on cluster-test.yaml
toolbox:
enabled: true
cephClusterSpec:
cephVersion:
image: quay.io/ceph/ceph:v18
allowUnsupported: true
mon:
count: 1
allowMultiplePerNode: true
mgr:
count: 1
allowMultiplePerNode: true
modules:
- name: rook
enabled: true
dashboard:
ssl: false
crashCollector:
disable: true
logCollector:
enabled: false
healthCheck:
daemonHealth:
mon:
interval: 45s
timeout: 600s
osd:
status:
livenessProbe:
resources:
configOverride: |
[global]
osd_pool_default_size = 1
mon_warn_on_pool_no_redundancy = false
bdev_flock_retry = 20
bluefs_buffered_io = false
mon_data_avail_warn = 10
# based on storageclass-test.yaml
cephBlockPools:
- name: ceph-blockpool
spec:
failureDomain: osd
replicated:
size: 1
requireSafeReplicaSize: false
storageClass:
enabled: true
name: ceph-block
isDefault: true
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: "Immediate"
mountOptions: []
allowedTopologies: []
parameters:
imageFormat: "2"
imageFeatures: layering
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/fstype: ext4
cephFileSystems: []
cephObjectStores: []
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,16 @@ spec:
type: string
example: |
enabled: true
currentNamespaceOnly: false
currentNamespaceOnly: true
description: "Helm values for Ceph Operator."
- name: rook_ceph_cluster_values
schema:
openAPIV3Schema:
type: string
default: "enabled: false"
example: |
cephClusterSpec:
cephVersion:
image: quay.io/ceph/ceph:v18.2.2
allowUnsupported: false
enabled: true
clusterName: rook-ceph
description: "Helm values for Ceph Cluster."
- name: etcdEncryptionSecretRef
required: false
Expand Down

0 comments on commit e21ba15

Please sign in to comment.