[rook] enable IPv6, label servers for testing

This commit is contained in:
Nico Schottelius 2021-06-06 16:50:00 +02:00
parent 5c25f8ca2c
commit 6453c1cbd4
2 changed files with 9 additions and 7 deletions

View File

@ -53,7 +53,7 @@ spec:
# When higher availability of the mgr is needed, increase the count to 2. # 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 # 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. # mgr is active, Rook will update the mgr services to match the active mgr.
count: 1 count: 2
modules: modules:
# Several modules should not need to be included in this list. The "dashboard" and "monitoring" 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. # are already enabled by other settings in the cluster CR.
@ -94,9 +94,9 @@ spec:
#public: public-conf --> NetworkAttachmentDefinition object name in Multus #public: public-conf --> NetworkAttachmentDefinition object name in Multus
#cluster: cluster-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 # 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 # Ceph daemons to listen on both IPv4 and Ipv6 networks
#dualStack: false dualStack: false
# enable the crash collector for ceph daemon crash collection # enable the crash collector for ceph daemon crash collection
crashCollector: crashCollector:
disable: false disable: false
@ -202,7 +202,7 @@ spec:
# osd: rook-ceph-osd-priority-class # osd: rook-ceph-osd-priority-class
# mgr: rook-ceph-mgr-priority-class # mgr: rook-ceph-mgr-priority-class
storage: # cluster level storage configuration and selection storage: # cluster level storage configuration and selection
useAllNodes: true useAllNodes: false
useAllDevices: true useAllDevices: true
#deviceFilter: #deviceFilter:
config: config:
@ -214,8 +214,10 @@ spec:
# encryptedDevice: "true" # the default value for this option is "false" # 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 # 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 below will be used as storage resources. Each node's 'name' field should match their 'kubernetes.io/hostname' label.
# nodes: nodes:
# - name: "172.17.4.201" - name: "server48"
- name: "server49"
- name: "server50"
# devices: # specific devices to use for storage can be specified for each node # devices: # specific devices to use for storage can be specified for each node
# - name: "sdb" # - name: "sdb"
# - name: "nvme01" # multiple osds can be created on high performance devices # - name: "nvme01" # multiple osds can be created on high performance devices

View File

@ -440,7 +440,7 @@ spec:
# The duration between discovering devices in the rook-discover daemonset. # The duration between discovering devices in the rook-discover daemonset.
- name: ROOK_DISCOVER_DEVICES_INTERVAL - 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. # 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. # Set this to true if SELinux is enabled (e.g. OpenShift) to workaround the anyuid issues.