You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
#################################################################################################################
|
|
# 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:
|
|
# kubectl create -f crds.yaml -f common.yaml -f operator.yaml
|
|
# kubectl create -f cluster-external.yaml
|
|
|
|
# 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:
|
|
name: rook-ceph-external
|
|
namespace: rook-ceph-external # namespace:cluster
|
|
spec:
|
|
external:
|
|
enable: true
|
|
crashCollector:
|
|
disable: true
|
|
healthCheck:
|
|
daemonHealth:
|
|
mon:
|
|
disabled: false
|
|
interval: 45s
|
|
# optionally, the ceph-mgr IP address can be passed to gather metric from the prometheus exporter
|
|
# monitoring:
|
|
# enabled: true
|
|
# rulesNamespace: rook-ceph
|
|
# externalMgrEndpoints:
|
|
#- ip: ip
|
|
# externalMgrPrometheusPort: 9283
|
|
placement:
|
|
all:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: sapian-storage-type
|
|
operator: In
|
|
values:
|
|
- ceph-rook
|