Pod <name>-<role>-<rg1>-1
HDFS Operator
StatefulSet <name>-<role>-<rg1>
Service <name>-<role>-<rg1>
Pod <name>-<role>-<rg1>-0
ConfigMap <name>-<role>-<rg1>
HdfsCluster <name>
create
read
Legend
Operator
Resource
Custom Resource
role group <rg1>
role <role>
references
for each role (dataNode, journalNode, nameNode):
ConfigMap <name>
discovery ConfigMap
Service <name>-<role>-<rg1>-1
Service <name>-<role>-<rg1>-0
Service <name>-<role>-<rg2>
role group <rg2>
Service <name>-<role>-<rg2>-0
ConfigMap <name>-<role>-<rg2>
StatefulSet <name>-<role>-<rg2>
Pod <name>-<role>-<rg2>-0