Newer documentation is now live.You are currently reading an older version.

Ceph default configuration

Pelagia Deployment Controller provides the capability to specify configuration options for the Ceph cluster through the rookConfig key-value section of the CephDeployment CR as if they were set in a usual ceph.conf file.

Default configuration options

However, if rookConfig is empty, Pelagia Deployment Controller still specifies the following default configuration options for each Ceph cluster:

  • Required network parameters that you can change through the network section:

    [global]
    cluster network = <spec.network.clusterNet>
    public network = <spec.network.publicNet>
    
  • General default configuration options that you can override using the rookConfig parameter:

    [global]
    mon_max_pg_per_osd = 300
    mon_target_pg_per_osd = 100
    
    [mon]
    mon_warn_on_insecure_global_id_reclaim = false
    mon_warn_on_insecure_global_id_reclaim_allowed = false
    
    [osd]
    osd_class_dir = /usr/lib64/rados-classes
    
  • If rookConfig is empty but the objectStore.rgw section is defined, Pelagia specifies the following Ceph RADOS Gateway default configuration options:

    [client.rgw.rgw.store.a]
    rgw_bucket_quota_ttl = 30
    rgw_data_log_backing = omap
    rgw_dns_name = rook-ceph-rgw-rgw-store.rook-ceph.svc
    rgw_max_attr_name_len = 64
    rgw_max_attr_size = 1024
    rgw_max_attrs_num_in_req = 32
    rgw_thread_pool_size = 256
    rgw_trust_forwarded_https = true
    rgw_user_quota_bucket_sync_interval = 30
    rgw_user_quota_sync_interval = 30