From 6453c1cbd4dd7040bdb3a3cfd26829a398a231f5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 6 Jun 2021 16:50:00 +0200 Subject: [PATCH] [rook] enable IPv6, label servers for testing --- rook/cluster.yaml | 14 ++++++++------ rook/operator.yaml | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/rook/cluster.yaml b/rook/cluster.yaml index fc62083..7b2a9e3 100644 --- a/rook/cluster.yaml +++ b/rook/cluster.yaml @@ -53,7 +53,7 @@ spec: # When higher availability of the mgr is needed, increase the count to 2. # In that case, one mgr will be active and one in standby. When Ceph updates which # mgr is active, Rook will update the mgr services to match the active mgr. - count: 1 + count: 2 modules: # Several modules should not need to be included in this list. The "dashboard" and "monitoring" modules # are already enabled by other settings in the cluster CR. @@ -94,9 +94,9 @@ spec: #public: public-conf --> NetworkAttachmentDefinition object name in Multus #cluster: cluster-conf --> NetworkAttachmentDefinition object name in Multus # Provide internet protocol version. IPv6, IPv4 or empty string are valid options. Empty string would mean IPv4 - #ipFamily: "IPv6" + ipFamily: "IPv6" # Ceph daemons to listen on both IPv4 and Ipv6 networks - #dualStack: false + dualStack: false # enable the crash collector for ceph daemon crash collection crashCollector: disable: false @@ -202,7 +202,7 @@ spec: # osd: rook-ceph-osd-priority-class # mgr: rook-ceph-mgr-priority-class storage: # cluster level storage configuration and selection - useAllNodes: true + useAllNodes: false useAllDevices: true #deviceFilter: config: @@ -214,8 +214,10 @@ spec: # 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 # nodes below will be used as storage resources. Each node's 'name' field should match their 'kubernetes.io/hostname' label. -# nodes: -# - name: "172.17.4.201" + nodes: + - name: "server48" + - name: "server49" + - name: "server50" # devices: # specific devices to use for storage can be specified for each node # - name: "sdb" # - name: "nvme01" # multiple osds can be created on high performance devices diff --git a/rook/operator.yaml b/rook/operator.yaml index d7eb17d..863ad73 100644 --- a/rook/operator.yaml +++ b/rook/operator.yaml @@ -440,7 +440,7 @@ spec: # The duration between discovering devices in the rook-discover daemonset. - name: ROOK_DISCOVER_DEVICES_INTERVAL - value: "60m" + value: "10m" # Whether to start pods as privileged that mount a host path, which includes the Ceph mon and osd pods. # Set this to true if SELinux is enabled (e.g. OpenShift) to workaround the anyuid issues.