Creating a custom host group
Create a dedicated host group for installing Rook in your IBM® Cloud Private cluster.
You can configure a custom host group with the dedicated Rook storage nodes. For more information about how to add a host group, see Defining custom host groups.
Following is an example configuration of a host group with dedicated Rook storage nodes. You add this configuration in the /<installation_directory>/cluster/hosts file.
[master]
10.41.1.182
[worker]
10.41.2.67
[proxy]
10.41.1.182
[hostgroup-cephfs]
10.41.3.214
10.41.4.100
10.41.4.202
After your IBM Cloud Private cluster is installed, the dedicated Rook storage nodes are assigned roles and taints. Following is an example of a role and a taint that is assigned to a dedicated Rook node:
kubectl describe node 10.41.3.214
Name: 10.41.3.214
Roles: cephfs
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
cephfs=true
hostgroup=cephfs
kubernetes.io/hostname=10.41.3.214
node-role.kubernetes.io/cephfs=true
Annotations: node.alpha.kubernetes.io/ttl=0
volumes.kubernetes.io/controller-managed-attach-detach=true
CreationTimestamp: Tue, 09 Oct 2018 06:57:48 -0700
Taints: dedicated=cephfs:NoSchedule