Merge "[ceph-osd] Remove default OSD configuration"

This commit is contained in:
Zuul 2020-12-07 23:14:18 +00:00 committed by Gerrit Code Review
commit a26891e5be
2 changed files with 46 additions and 42 deletions

View File

@ -15,6 +15,6 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Ceph OSD description: OpenStack-Helm Ceph OSD
name: ceph-osd name: ceph-osd
version: 0.1.12 version: 0.1.13
home: https://github.com/ceph/ceph home: https://github.com/ceph/ceph
... ...

View File

@ -237,50 +237,54 @@ conf:
# when specifing whole disk (/dev/sdf) for journals, ceph-osd chart will create # when specifing whole disk (/dev/sdf) for journals, ceph-osd chart will create
# needed partitions for each OSDs. # needed partitions for each OSDs.
osd: osd:
- data: # Below is the current configuration default, which is Bluestore with co-located metadata
type: directory # - data:
location: /var/lib/openstack-helm/ceph/osd/osd-one # type: bluestore
journal: # location: /dev/sdb # Use a valid device here
type: directory
location: /var/lib/openstack-helm/ceph/osd/journal-one
# - data: # Separate block devices may be used for block.db and/or block.wal
# type: bluestore # Specify the location and size in Gb. It is recommended that the
# location: /dev/sdb # block_db size isn't smaller than 4% of block. For example, if the
# Separate block devices may be used for block.db and/or block.wal # block size is 1TB, then block_db shouldn't be less than 40GB.
# Without these values they will be co-located on the data volume # A size suffix of K for kilobytes, M for megabytes, G for gigabytes,
# Specify the location and size in Gb. It is recommended that the # T for terabytes, P for petabytes or E for exabytes is optional.
# block_db size isnt smaller than 4% of block. For example, if the # Default unit is megabytes.
# block size is 1TB, then block_db shouldnt be less than 40GB. # block_db:
# A size suffix of K for kilobytes, M for megabytes, G for gigabytes, # location: /dev/sdc
# T for terabytes, P for petabytes or E for exabytes is optional. # size: "96GB"
# Default unit is megabytes. # block_wal:
# block_db: # location: /dev/sdc
# location: /dev/sdc # size: "2GB"
# size: "96GB"
# block_wal:
# location: /dev/sdc
# size: "2GB"
# - data: # Block-based Filestore OSDs with separate journal block devices
# type: block-logical # - data:
# location: /dev/sdd # type: block-logical
# journal: # location: /dev/sdd
# type: block-logical # journal:
# location: /dev/sdf1 # type: block-logical
# - data: # location: /dev/sdf1
# type: block-logical # - data:
# location: /dev/sde # type: block-logical
# journal: # location: /dev/sde
# type: block-logical # journal:
# location: /dev/sdf2 # type: block-logical
# location: /dev/sdf2
# - data: # Block-based Filestore OSDs with directory-based journals
# type: block-logical # - data:
# location: /dev/sdg # type: block-logical
# journal: # location: /dev/sdg
# type: directory # journal:
# location: /var/lib/openstack-helm/ceph/osd/journal-sdg # type: directory
# location: /var/lib/openstack-helm/ceph/osd/journal-sdg
# Directory-based Filestore OSD
# - data:
# type: directory
# location: /var/lib/openstack-helm/ceph/osd/osd-one
# journal:
# type: directory
# location: /var/lib/openstack-helm/ceph/osd/journal-one
# NOTE(portdirect): for heterogeneous clusters the overrides section can be used to define # NOTE(portdirect): for heterogeneous clusters the overrides section can be used to define
# OSD pods that will be deployed upon specifc nodes. # OSD pods that will be deployed upon specifc nodes.