|
@@ -1,5 +1,5 @@
|
|
|
-# From https://raw.githubusercontent.com/rook/rook/v1.12.11/deploy/charts/rook-ceph-cluster/values.yaml
|
|
|
-# KUBECONFIG=/etc/rancher/k3s/k3s.yaml helm upgrade --namespace rook-ceph rook-ceph-cluster --set operatorNamespace=rook-ceph rook-release/rook-ceph-cluster -f rook/rook-ceph-cluster-values.yaml --version 1.12.11
|
|
|
+# From https://raw.githubusercontent.com/rook/rook/v1.13.10/deploy/charts/rook-ceph-cluster/values.yaml
|
|
|
+# KUBECONFIG=/etc/rancher/k3s/k3s.yaml helm upgrade --namespace rook-ceph rook-ceph-cluster --set operatorNamespace=rook-ceph rook-release/rook-ceph-cluster -f rook/rook-ceph-cluster-values.yaml --version 1.13.10
|
|
|
# Default values for a single rook-ceph cluster
|
|
|
# This is a YAML-formatted file.
|
|
|
# Declare variables to be passed into your templates.
|
|
@@ -27,15 +27,21 @@ toolbox:
|
|
|
# -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
|
|
|
enabled: true
|
|
|
# -- Toolbox image, defaults to the image used by the Ceph cluster
|
|
|
- image: quay.io/ceph/ceph:v17.2.7
|
|
|
+ image: #quay.io/ceph/ceph:v18.2.2
|
|
|
# -- Toolbox tolerations
|
|
|
tolerations: []
|
|
|
# -- Toolbox affinity
|
|
|
affinity: {}
|
|
|
+ # -- Toolbox container security context
|
|
|
+ containerSecurityContext:
|
|
|
+ runAsNonRoot: true
|
|
|
+ runAsUser: 2016
|
|
|
+ runAsGroup: 2016
|
|
|
+ capabilities:
|
|
|
+ drop: ["ALL"]
|
|
|
# -- Toolbox resources
|
|
|
resources:
|
|
|
limits:
|
|
|
- cpu: "500m"
|
|
|
memory: "1Gi"
|
|
|
requests:
|
|
|
cpu: "100m"
|
|
@@ -57,7 +63,7 @@ monitoring:
|
|
|
# externalMgrEndpoints: <list of endpoints>
|
|
|
# externalMgrPrometheusPort: <port>
|
|
|
# Scrape interval for prometheus
|
|
|
- # interval: 5s
|
|
|
+ # interval: 10s
|
|
|
# allow adding custom labels and annotations to the prometheus rule
|
|
|
prometheusRule:
|
|
|
# -- Labels applied to PrometheusRule
|
|
@@ -85,13 +91,14 @@ cephClusterSpec:
|
|
|
# For more details, check https://rook.io/docs/rook/v1.10/CRDs/Cluster/ceph-cluster-crd/
|
|
|
cephVersion:
|
|
|
# The container image used to launch the Ceph daemon pods (mon, mgr, osd, mds, rgw).
|
|
|
- # v16 is Pacific, v17 is Quincy.
|
|
|
- # RECOMMENDATION: In production, use a specific version tag instead of the general v16 flag, which pulls the latest release and could result in different
|
|
|
+ # v17 is Quincy, v18 is Reef.
|
|
|
+ # RECOMMENDATION: In production, use a specific version tag instead of the general v18 flag, which pulls the latest release and could result in different
|
|
|
# versions running within the cluster. See tags available at https://hub.docker.com/r/ceph/ceph/tags/.
|
|
|
- # If you want to be more precise, you can always use a timestamp tag such quay.io/ceph/ceph:v15.2.11-20200419
|
|
|
+ # If you want to be more precise, you can always use a timestamp tag such as quay.io/ceph/ceph:v18.2.2-20240311
|
|
|
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
|
|
|
+ # image: quay.io/ceph/ceph:v18.2.2
|
|
|
image: quay.io/ceph/ceph:v17.2.7
|
|
|
- # Whether to allow unsupported versions of Ceph. Currently `pacific`, `quincy`, and `reef` are supported.
|
|
|
+ # Whether to allow unsupported versions of Ceph. Currently `quincy`, and `reef` are supported.
|
|
|
# Future versions such as `squid` (v19) would require this to be set to `true`.
|
|
|
# Do not set to true in production.
|
|
|
allowUnsupported: false
|
|
@@ -145,10 +152,10 @@ cephClusterSpec:
|
|
|
# serve the dashboard under a subpath (useful when you are accessing the dashboard via a reverse proxy)
|
|
|
# urlPrefix: /ceph-dashboard
|
|
|
# serve the dashboard at the given port.
|
|
|
- # port: 8443
|
|
|
+ port: 8080
|
|
|
# Serve the dashboard using SSL (if using ingress to expose the dashboard and `ssl: true` you need to set
|
|
|
# the corresponding "backend protocol" annotation(s) for your ingress controller of choice)
|
|
|
- ssl: true
|
|
|
+ ssl: false
|
|
|
|
|
|
# Network configuration, see: https://github.com/rook/rook/blob/master/Documentation/CRDs/ceph-cluster-crd.md#network-configuration-settings
|
|
|
network:
|
|
@@ -362,7 +369,6 @@ cephClusterSpec:
|
|
|
# crushRoot: "custom-root" # specify a non-default root label for the CRUSH map
|
|
|
# metadataDevice: "md0" # specify a non-rotational storage so ceph-volume will use it as block db device of bluestore.
|
|
|
# databaseSizeMB: "1024" # uncomment if the disks are smaller than 100 GB
|
|
|
- # journalSizeMB: "1024" # uncomment if the disks are 20 GB or smaller
|
|
|
# osdsPerDevice: "1" # this value can be overridden at the node or device level
|
|
|
# encryptedDevice: "true" # the default value for this option is "false"
|
|
|
# # Individual nodes and their config can be specified as well, but 'useAllNodes' above must be set to false. Then, only the named
|
|
@@ -438,7 +444,6 @@ ingress:
|
|
|
# ingressClassName: nginx
|
|
|
|
|
|
# TODO a ssd blockpool
|
|
|
-
|
|
|
# -- A list of CephBlockPool configurations to deploy
|
|
|
# @default -- See [below](#ceph-block-pools)
|
|
|
cephBlockPools:
|
|
@@ -450,7 +455,7 @@ cephBlockPools:
|
|
|
size: 3
|
|
|
deviceClass: hdd
|
|
|
# Enables collecting RBD per-image IO statistics by enabling dynamic OSD performance counters. Defaults to false.
|
|
|
- # For reference: https://docs.ceph.com/docs/master/mgr/prometheus/#rbd-io-statistics
|
|
|
+ # For reference: https://docs.ceph.com/docs/latest/mgr/prometheus/#rbd-io-statistics
|
|
|
# enableRBDStats: true
|
|
|
storageClass:
|
|
|
enabled: true
|
|
@@ -470,16 +475,16 @@ cephBlockPools:
|
|
|
parameters:
|
|
|
# (optional) mapOptions is a comma-separated list of map options.
|
|
|
# For krbd options refer
|
|
|
- # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
+ # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
# For nbd options refer
|
|
|
- # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options
|
|
|
+ # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
|
|
|
# mapOptions: lock_on_read,queue_depth=1024
|
|
|
|
|
|
# (optional) unmapOptions is a comma-separated list of unmap options.
|
|
|
# For krbd options refer
|
|
|
- # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
+ # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
# For nbd options refer
|
|
|
- # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options
|
|
|
+ # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
|
|
|
# unmapOptions: force
|
|
|
|
|
|
# RBD image format. Defaults to "2".
|
|
@@ -664,7 +669,6 @@ cephObjectStores:
|
|
|
# - objectstore.example.com
|
|
|
# secretName: ceph-objectstore-tls
|
|
|
# ingressClassName: nginx
|
|
|
-
|
|
|
# cephECBlockPools are disabled by default, please remove the comments and set desired values to enable it
|
|
|
#cephECBlockPools:
|
|
|
# # For erasure coded a replicated metadata pool is required.
|
|
@@ -686,8 +690,6 @@ cephObjectStores:
|
|
|
# if cephECBlockPools are uncommented you must remove the comments of cephEcStorageClass as well
|
|
|
#cephECStorageClass:
|
|
|
# name: rook-ceph-block
|
|
|
-# # Change "rook-ceph" provisioner prefix to match the operator namespace if needed
|
|
|
-# provisioner: rook-ceph.rbd.csi.ceph.com # driver:namespace:operator
|
|
|
# parameters:
|
|
|
# # clusterID is the namespace where the rook cluster is running
|
|
|
# # If you change this namespace, also change the namespace below where the secret namespaces are defined
|
|
@@ -703,16 +705,16 @@ cephObjectStores:
|
|
|
#
|
|
|
# # (optional) mapOptions is a comma-separated list of map options.
|
|
|
# # For krbd options refer
|
|
|
-# # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
+# # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
# # For nbd options refer
|
|
|
-# # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options
|
|
|
+# # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
|
|
|
# # mapOptions: lock_on_read,queue_depth=1024
|
|
|
#
|
|
|
# # (optional) unmapOptions is a comma-separated list of unmap options.
|
|
|
# # For krbd options refer
|
|
|
-# # https://docs.ceph.com/docs/master/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
+# # https://docs.ceph.com/docs/latest/man/8/rbd/#kernel-rbd-krbd-options
|
|
|
# # For nbd options refer
|
|
|
-# # https://docs.ceph.com/docs/master/man/8/rbd-nbd/#options
|
|
|
+# # https://docs.ceph.com/docs/latest/man/8/rbd-nbd/#options
|
|
|
# # unmapOptions: force
|
|
|
#
|
|
|
# # RBD image format. Defaults to "2".
|
|
@@ -726,3 +728,7 @@ cephObjectStores:
|
|
|
# imageFeatures: layering
|
|
|
# allowVolumeExpansion: true
|
|
|
# reclaimPolicy: Delete
|
|
|
+
|
|
|
+# -- CSI driver name prefix for cephfs, rbd and nfs.
|
|
|
+# @default -- `namespace name where rook-ceph operator is deployed`
|
|
|
+csiDriverNamePrefix:
|