--- # ============LICENSE_START======================================================= # Copyright (C) 2019 The Nordix Foundation. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= rook_data_dir_path: "/var/lib/rook" rook_storage_dir_path: "/rook/storage-dir" rook_namespace: "{{ lookup('env', 'ROOK_NAMESPACE') | default('rook-ceph', true) }}" # Per SuSE best practices for Rook deployments, separating nodes providing storage # from nodes running workloads consuming said storage # https://documentation.suse.com/sbp/all/html/SBP-rook-ceph-kubernetes/index.html # Label to be used to separate ceph workloads from other workloads rook_storage_label: "storage-node" # These nodes will have the label {{rook-storage-label}}=true applied to them rook_storage_nodes: "{{ groups['storage'] }}" # These nodes will have the label {{rook_storage_label}}=false applied to them # as well as a taint {{rook_storage_label}}=false:NoSchedule rook_nostorage_nodes: "{{ groups['k8s-cluster'] | difference(rook_storage_nodes) }}" # Disabled for small test environment rook_ceph_crashcollector_disable: "{{ lookup('env', 'ROOK_CEPH_CRASHCOLLECTOR_DISABLE') | default(true, true) }}" rook_use_host_network: "{{ lookup('env', 'ROOK_USE_HOST_NETWORK') | default(false, true) }}" rook_node_device_filter: "{{ lookup('env', 'ROOK_NODE_DEVICE_FILTER') | default('^(vda3|sda3|vdb|sdb)$', true) }}" rook_block_pool_name: "{{ lookup('env', 'ROOK_BLOCK_POOL_NAME') | default('block-pool', true) }}" rook_block_pool_replicas: "{{ lookup('env', 'ROOK_BLOCK_POOL_REPLICAS') | default(1, true) | int }}" # The below values should be customized according to deployment requirements # See: https://docs.ceph.com/en/latest/rados/configuration/pool-pg-config-ref/ rook_ceph_osd_pool_default_size: "{{ lookup('env', 'ROOK_CEPH_OSD_POOL_DEFAULT_SIZE') | default(1, true) | int }}" rook_ceph_osd_pool_default_min_size: "{{ lookup('env', 'ROOK_CEPH_OSD_POOL_DEFAULT_MIN_SIZE') | default(1, true) | int }}" rook_ceph_mon_warn_on_no_pool_redundancy: "{{ lookup('env', 'ROOK_CEPH_MON_WARN_ON_NO_POOL_REDUNDANCY') | default(false, true) }}" # Increase this as required. Must be an odd number. 3 is the recommended value. rook_ceph_mon_count: "{{ lookup('env', 'ROOK_CEPH_MON_COUNT') | default(1, true) | int }}" rook_block_storage_name: "{{ lookup('env', 'ROOK_BLOCK_STORAGE_NAME') | default('block-storage', true) }}" rook_block_storage_fs: "{{ lookup('env', 'ROOK_BLOCK_STORAGE_FS') | default('xfs', true) }}" rook_filesystem: "{{ lookup('env', 'ROOK_FS') | default('false', true) }}" rook_filesystem_name: "{{ lookup('env', 'ROOK_FILESYSTEM_NAME') | default('rookfs', true) }}" rook_filesystem_storageclass_name: "{{ lookup('env', 'ROOK_FILESYSTEM_STORAGECLASS_NAME') | default('csi-cephfs', true) }}" rook_ceph_dashboard_enabled: "{{ lookup('env', 'ROOK_CEPH_DASHBOARD_ENABLED') | default(false, true) }}" # vim: set ts=2 sw=2 expandtab: