2019-03-21 14:58:06 -10:00
|
|
|
#################################################################################################################
|
|
|
|
|
# Define the settings for the rook-ceph-external cluster with common settings for a production cluster.
|
|
|
|
|
|
|
|
|
|
# For example, if Rook is not managing any existing cluster in the 'rook-ceph' namespace do:
|
2020-11-12 15:19:01 -07:00
|
|
|
# kubectl create -f crds.yaml -f common.yaml -f operator.yaml
|
|
|
|
|
# kubectl create -f cluster-external.yaml
|
2019-03-21 14:58:06 -10:00
|
|
|
|
|
|
|
|
# If there is already a cluster managed by Rook in 'rook-ceph' then do:
|
|
|
|
|
# kubectl create -f common-external.yaml
|
|
|
|
|
# kubectl create -f cluster-external.yaml
|
|
|
|
|
#################################################################################################################
|
|
|
|
|
apiVersion: ceph.rook.io/v1
|
|
|
|
|
kind: CephCluster
|
|
|
|
|
metadata:
|
2019-06-24 16:13:10 +02:00
|
|
|
name: rook-ceph-external
|
2020-12-09 13:21:15 -07:00
|
|
|
namespace: rook-ceph-external # namespace:cluster
|
2019-03-21 14:58:06 -10:00
|
|
|
spec:
|
2019-03-21 14:58:06 -10:00
|
|
|
external:
|
|
|
|
|
enable: true
|
2020-04-09 17:03:45 +02:00
|
|
|
crashCollector:
|
|
|
|
|
disable: true
|
2020-07-08 09:21:23 +02:00
|
|
|
healthCheck:
|
|
|
|
|
daemonHealth:
|
|
|
|
|
mon:
|
|
|
|
|
disabled: false
|
2020-05-28 19:06:21 +02:00
|
|
|
interval: 45s
|
|
|
|
|
# optionally, the ceph-mgr IP address can be passed to gather metric from the prometheus exporter
|
|
|
|
|
# monitoring:
|
|
|
|
|
# enabled: true
|
|
|
|
|
# externalMgrEndpoints:
|
2023-05-09 12:45:59 +05:30
|
|
|
# - ip: ip
|
|
|
|
|
# externalMgrPrometheusPort: 9283
|